========== build_clang - FAILED In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: fs/select.o] Error 1 make[3]: *** [../scripts/Makefile.build:461: fs] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/bpf/test_run.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/datagram.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ethtool/channels.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: net/socket.o] Error 1 In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/sqpoll.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/sock.o] Error 1 In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/register.o] Error 1 In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/netdev-genl.o] Error 1 In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_buff_pool.o] Error 1 In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/xdp.o] Error 1 In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/io_uring.o] Error 1 In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ethtool/ioctl.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/ethtool] Error 2 In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_queue.o] Error 1 In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/sysctl_net_core.o] Error 1 In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/nvme/host/tcp.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/nvme/host] Error 2 make[4]: *** [../scripts/Makefile.build:461: drivers/nvme] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/poll.o] Error 1 In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/net-sysfs.o] Error 1 In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv6/udp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/zcrx.o] Error 1 In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xdp_umem.o] Error 1 In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_diag.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/xdp] Error 2 In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/dev.o] Error 1 In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/gro.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/netdev_rx_queue.o] Error 1 In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/napi.o] Error 1 make[3]: *** [../scripts/Makefile.build:461: io_uring] Error 2 In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:127:46: warning: shift count >= width of type [-Wshift-count-overflow] 127 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_pci_func.o] Error 1 In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_minisocks.o] Error 1 In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/filter.o] Error 1 In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/inode.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:461: net/core] Error 2 In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_input.o] Error 1 In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/core.o] Error 1 In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/verifier.o] Error 1 In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_ipv4.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_nic.o] Error 1 In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/syscall.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ring.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_vec.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_xdp.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_filters.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o] Error 1 In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.o] Error 1 In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/udp.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/ipv4] Error 2 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_tc.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o] Error 1 In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv6/tcp_ipv6.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/ipv6] Error 2 In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_queues.o] Error 1 make[3]: *** [../scripts/Makefile.build:461: net] Error 2 In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/engleder/tsnep_main.c:2611:9: warning: shift count >= width of type [-Wshift-count-overflow] 2611 | 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 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_main.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_xdp.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/aquantia/atlantic] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/aquantia] Error 2 In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cavium/thunder] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cavium] Error 2 In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cisco/enic/enic_rq.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_selftests.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.o] Error 1 make[8]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio/inline_crypto/chtls] Error 2 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio/inline_crypto] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/tap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:15040:44: warning: shift count >= width of type [-Wshift-count-overflow] 15040 | if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)) != 0 && | ^~~~~~~~~~~~~~~~ ../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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o] Error 1 In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/tun.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_rxnfc.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ptp.o] Error 1 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/engleder] Error 2 In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/google/gve/gve_main.c:2578:46: warning: shift count >= width of type [-Wshift-count-overflow] 2578 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/veth.o] Error 1 In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/fec_ptp.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_main.c:5836:49: warning: shift count >= width of type [-Wshift-count-overflow] 5836 | status = 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/emulex/benet/be_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/emulex/benet] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/emulex] Error 2 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_cbdr.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/chelsio/cxgb4/sge.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio/cxgb4] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio] Error 2 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o] Error 1 In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cisco/enic/enic_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cisco/enic] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cisco] Error 2 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o] Error 1 In file included from ../drivers/net/ethernet/intel/libie/rx.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libie/rx.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libie/rx.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libie/rx.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libie/rx.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libie/rx.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/libie/rx.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/libie] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_tx.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx_dqo.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:3528:46: warning: shift count >= width of type [-Wshift-count-overflow] 3528 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 In file included from ../drivers/net/ethernet/intel/libeth/rx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libeth/rx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libeth/rx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libeth/rx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libeth/rx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/libeth/rx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/libeth/rx.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/libeth] Error 2 In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_utils.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf_common.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_msg.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/fungible/funeth] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/fungible] Error 2 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/broadcom/bnxt] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/broadcom] Error 2 In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_flow_rule.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_qos.o] Error 1 In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/xen-netfront.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_adminq.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/google/gve] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/google] Error 2 In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/fec_main.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc4_pf.o] Error 1 In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/bonding/bond_main.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/bonding] Error 2 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ierb.o] Error 1 In file included from ../drivers/net/ethernet/intel/igc/igc_base.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_base.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_base.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_base.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_base.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_base.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igc/igc_base.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/ixgbevf/vf.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/vf.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/vf.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/vf.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/vf.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/vf.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbevf/vf.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/igb/igb_main.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_main.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_main.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_main.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_main.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_main.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:3204:46: warning: shift count >= width of type [-Wshift-count-overflow] 3204 | 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)) | ^ ~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6152:14: warning: division by zero is undefined [-Wdivision-by-zero] 6152 | cmd_type |= IGB_SET_FLAG(tx_flags, IGB_TX_FLAGS_VLAN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6153 | (E1000_ADVTXD_DCMD_VLE)); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6142:26: note: expanded from macro 'IGB_SET_FLAG' 6142 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6156:14: warning: division by zero is undefined [-Wdivision-by-zero] 6156 | cmd_type |= IGB_SET_FLAG(tx_flags, IGB_TX_FLAGS_TSO, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6157 | (E1000_ADVTXD_DCMD_TSE)); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6142:26: note: expanded from macro 'IGB_SET_FLAG' 6142 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6160:14: warning: division by zero is undefined [-Wdivision-by-zero] 6160 | cmd_type |= IGB_SET_FLAG(tx_flags, IGB_TX_FLAGS_TSTAMP, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6161 | (E1000_ADVTXD_MAC_TSTAMP)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6142:26: note: expanded from macro 'IGB_SET_FLAG' 6142 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6164:14: warning: division by zero is undefined [-Wdivision-by-zero] 6164 | cmd_type ^= IGB_SET_FLAG(skb->no_fcs, 1, E1000_ADVTXD_DCMD_IFCS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6142:26: note: expanded from macro 'IGB_SET_FLAG' 6142 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6180:19: warning: division by zero is undefined [-Wdivision-by-zero] 6180 | olinfo_status |= IGB_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~ 6181 | IGB_TX_FLAGS_CSUM, | ~~~~~~~~~~~~~~~~~~ 6182 | (E1000_TXD_POPTS_TXSM << 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6142:26: note: expanded from macro 'IGB_SET_FLAG' 6142 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6185:19: warning: division by zero is undefined [-Wdivision-by-zero] 6185 | olinfo_status |= IGB_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~ 6186 | IGB_TX_FLAGS_IPV4, | ~~~~~~~~~~~~~~~~~~ 6187 | (E1000_TXD_POPTS_IXSM << 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_main.c:6142:26: note: expanded from macro 'IGB_SET_FLAG' 6142 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ 7 warnings and 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igb/igb_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/igb/igb_ethtool.c:19: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ethtool.c:19: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ethtool.c:19: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ethtool.c:19: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ethtool.c:19: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ethtool.c:19: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igb/igb_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbevf/mbx.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/mbx.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/mbx.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/mbx.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/mbx.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/mbx.c:5: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbevf/mbx.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:18: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:18: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:18: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:18: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:18: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:18: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbevf/ethtool.o] Error 1 In file included from ../drivers/net/ethernet/intel/igc/igc_main.c:12: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_main.c:12: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_main.c:12: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_main.c:12: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_main.c:12: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_main.c:12: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1259:14: warning: division by zero is undefined [-Wdivision-by-zero] 1259 | cmd_type |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_VLAN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1260 | IGC_ADVTXD_DCMD_VLE); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1263:14: warning: division by zero is undefined [-Wdivision-by-zero] 1263 | cmd_type |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_TSO, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1264 | (IGC_ADVTXD_DCMD_TSE)); | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1269:14: warning: division by zero is undefined [-Wdivision-by-zero] 1269 | cmd_type |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_TSTAMP, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1270 | (IGC_ADVTXD_MAC_TSTAMP)); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1272:14: warning: division by zero is undefined [-Wdivision-by-zero] 1272 | cmd_type |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_TSTAMP_1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1273 | (IGC_ADVTXD_TSTAMP_REG_1)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1275:14: warning: division by zero is undefined [-Wdivision-by-zero] 1275 | cmd_type |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_TSTAMP_2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1276 | (IGC_ADVTXD_TSTAMP_REG_2)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1278:14: warning: division by zero is undefined [-Wdivision-by-zero] 1278 | cmd_type |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_TSTAMP_3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1279 | (IGC_ADVTXD_TSTAMP_REG_3)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1282:14: warning: division by zero is undefined [-Wdivision-by-zero] 1282 | cmd_type ^= IGC_SET_FLAG(skb->no_fcs, 1, IGC_ADVTXD_DCMD_IFCS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1294:19: warning: division by zero is undefined [-Wdivision-by-zero] 1294 | olinfo_status |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_CSUM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1295 | (IGC_TXD_POPTS_TXSM << 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1298:19: warning: division by zero is undefined [-Wdivision-by-zero] 1298 | olinfo_status |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_IPV4, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1299 | (IGC_TXD_POPTS_IXSM << 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:2953:25: warning: division by zero is undefined [-Wdivision-by-zero] 2953 | meta_req->cmd_type |= IGC_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~ 2954 | IGC_TX_FLAGS_TSTAMP, | ~~~~~~~~~~~~~~~~~~~~ 2955 | (IGC_ADVTXD_MAC_TSTAMP)); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:2956:25: warning: division by zero is undefined [-Wdivision-by-zero] 2956 | meta_req->cmd_type |= IGC_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~ 2957 | IGC_TX_FLAGS_TSTAMP_1, | ~~~~~~~~~~~~~~~~~~~~~~ 2958 | (IGC_ADVTXD_TSTAMP_REG_1)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:2959:25: warning: division by zero is undefined [-Wdivision-by-zero] 2959 | meta_req->cmd_type |= IGC_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~ 2960 | IGC_TX_FLAGS_TSTAMP_2, | ~~~~~~~~~~~~~~~~~~~~~~ 2961 | (IGC_ADVTXD_TSTAMP_REG_2)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:2962:25: warning: division by zero is undefined [-Wdivision-by-zero] 2962 | meta_req->cmd_type |= IGC_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~ 2963 | IGC_TX_FLAGS_TSTAMP_3, | ~~~~~~~~~~~~~~~~~~~~~~ 2964 | (IGC_ADVTXD_TSTAMP_REG_3)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:1249:30: note: expanded from macro 'IGC_SET_FLAG' 1249 | ((u32)((_input) & (_flag)) / ((_flag) / (_result)))) | ^ ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igc/igc_main.c:7014:46: warning: shift count >= width of type [-Wshift-count-overflow] 7014 | 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)) | ^ ~~~ 14 warnings and 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igc/igc_main.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_vf.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c:17: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c:17: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c:17: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c:17: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c:17: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c:17: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/dpaa] Error 2 In file included from ../drivers/net/ethernet/intel/iavf/iavf_txrx.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_txrx.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_txrx.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_txrx.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_txrx.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_txrx.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/iavf/iavf_txrx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_mdio.o] Error 1 In file included from ../drivers/net/ethernet/intel/igb/e1000_mac.c:13: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_mac.c:13: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_mac.c:13: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_mac.c:13: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_mac.c:13: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_mac.c:13: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igb/e1000_mac.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:31: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:31: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:31: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:31: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:31: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:31: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:4539:46: warning: shift count >= width of type [-Wshift-count-overflow] 4539 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.o] Error 1 In file included from ../drivers/net/ethernet/intel/igb/igb_ptp.c:9: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ptp.c:9: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ptp.c:9: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ptp.c:9: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ptp.c:9: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_ptp.c:9: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/igb/igb_ptp.c:1343:22: warning: shift count >= width of type [-Wshift-count-overflow] 1343 | adapter->cc.mask = CYCLECOUNTER_MASK(64); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) | ^ ~~~~~~ 1 warning and 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igb/igb_ptp.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_common.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:45:46: warning: shift count >= width of type [-Wshift-count-overflow] 45 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ptp.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/enetc] Error 2 In file included from ../drivers/net/ethernet/intel/igb/e1000_82575.c:17: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_82575.c:17: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_82575.c:17: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_82575.c:17: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_82575.c:17: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/e1000_82575.c:17: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igb/e1000_82575.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_82599.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbevf/ipsec.c:4: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ipsec.c:4: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ipsec.c:4: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ipsec.c:4: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ipsec.c:4: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbevf/ipsec.c:4: In file included from ../drivers/net/ethernet/intel/ixgbevf/ixgbevf.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbevf/ipsec.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/ixgbevf] Error 2 In file included from ../drivers/net/ethernet/intel/igc/igc_diag.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_diag.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_diag.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_diag.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_diag.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_diag.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igc/igc_diag.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:28: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:28: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:28: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:28: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:28: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:28: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8611:14: warning: division by zero is undefined [-Wdivision-by-zero] 8611 | cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_HW_VLAN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8612 | IXGBE_ADVTXD_DCMD_VLE); | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8601:26: note: expanded from macro 'IXGBE_SET_FLAG' 8601 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8615:14: warning: division by zero is undefined [-Wdivision-by-zero] 8615 | cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_TSO, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8616 | IXGBE_ADVTXD_DCMD_TSE); | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8601:26: note: expanded from macro 'IXGBE_SET_FLAG' 8601 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8619:14: warning: division by zero is undefined [-Wdivision-by-zero] 8619 | cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_TSTAMP, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8620 | IXGBE_ADVTXD_MAC_TSTAMP); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8601:26: note: expanded from macro 'IXGBE_SET_FLAG' 8601 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8623:14: warning: division by zero is undefined [-Wdivision-by-zero] 8623 | cmd_type ^= IXGBE_SET_FLAG(skb->no_fcs, 1, IXGBE_ADVTXD_DCMD_IFCS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8601:26: note: expanded from macro 'IXGBE_SET_FLAG' 8601 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8634:19: warning: division by zero is undefined [-Wdivision-by-zero] 8634 | olinfo_status |= IXGBE_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~~~ 8635 | IXGBE_TX_FLAGS_CSUM, | ~~~~~~~~~~~~~~~~~~~~ 8636 | IXGBE_ADVTXD_POPTS_TXSM); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8601:26: note: expanded from macro 'IXGBE_SET_FLAG' 8601 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8639:19: warning: division by zero is undefined [-Wdivision-by-zero] 8639 | olinfo_status |= IXGBE_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~~~ 8640 | IXGBE_TX_FLAGS_IPV4, | ~~~~~~~~~~~~~~~~~~~~ 8641 | IXGBE_ADVTXD_POPTS_IXSM); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8601:26: note: expanded from macro 'IXGBE_SET_FLAG' 8601 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8644:19: warning: division by zero is undefined [-Wdivision-by-zero] 8644 | olinfo_status |= IXGBE_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~~~ 8645 | IXGBE_TX_FLAGS_IPSEC, | ~~~~~~~~~~~~~~~~~~~~~ 8646 | IXGBE_ADVTXD_POPTS_IPSEC); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8601:26: note: expanded from macro 'IXGBE_SET_FLAG' 8601 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8652:19: warning: division by zero is undefined [-Wdivision-by-zero] 8652 | olinfo_status |= IXGBE_SET_FLAG(tx_flags, | ^~~~~~~~~~~~~~~~~~~~~~~~ 8653 | IXGBE_TX_FLAGS_CC, | ~~~~~~~~~~~~~~~~~~ 8654 | IXGBE_ADVTXD_CC); | ~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8601:26: note: expanded from macro 'IXGBE_SET_FLAG' 8601 | ((u32)(_input & _flag) / (_flag / _result))) | ^ ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:11238:46: warning: shift count >= width of type [-Wshift-count-overflow] 11238 | 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)) | ^ ~~~ 9 warnings and 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_main.o] Error 1 In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/iavf/iavf_main.c:5464:46: warning: shift count >= width of type [-Wshift-count-overflow] 5464 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/iavf/iavf_main.o] Error 1 In file included from ../drivers/net/ethernet/intel/igb/igb_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igb/igb_xsk.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_82598.o] Error 1 ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/idpf/idpf_txrx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/ice/ice_controlq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_controlq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_controlq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_controlq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_controlq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_controlq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_controlq.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:9: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:9: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:9: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:9: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:9: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:9: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igc/igc_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_switch.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_switch.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_switch.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_switch.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_switch.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_switch.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_switch.o] Error 1 In file included from ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/iavf/iavf_virtchnl.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/iavf] Error 2 In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/idpf/idpf_virtchnl.o] Error 1 In file included from ../drivers/net/ethernet/intel/igb/igb_hwmon.c:4: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_hwmon.c:4: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_hwmon.c:4: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_hwmon.c:4: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_hwmon.c:4: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igb/igb_hwmon.c:4: In file included from ../drivers/net/ethernet/intel/igb/igb.h:23: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igb/igb_hwmon.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/igb] Error 2 In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/i40e/i40e_main.c:15598:46: warning: shift count >= width of type [-Wshift-count-overflow] 15598 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c:9: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_phy.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:4: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/idpf] Error 2 In file included from ../drivers/net/ethernet/intel/igc/igc_dump.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_dump.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_dump.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_dump.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_dump.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_dump.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igc/igc_dump.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c:6: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c:6: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c:6: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c:6: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c:6: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c:6: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_lib.o] Error 1 In file included from ../drivers/net/ethernet/intel/igc/igc_ptp.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ptp.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ptp.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ptp.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ptp.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_ptp.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igc/igc_ptp.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:7: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:7: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:7: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:7: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:7: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:7: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_x550.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/dpaa2] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale] Error 2 In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:10: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:10: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:10: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:10: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:10: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_main.c:10: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ice/ice_main.c:5276:39: warning: shift count >= width of type [-Wshift-count-overflow] 5276 | err = dma_set_mask_and_coherent(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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_main.o] Error 1 In file included from ../drivers/net/ethernet/intel/igc/igc_leds.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_leds.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_leds.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_leds.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_leds.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_leds.c:10: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igc/igc_leds.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_debugfs.c:9: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_debugfs.c:9: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_debugfs.c:9: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_debugfs.c:9: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_debugfs.c:9: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_debugfs.c:9: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_debugfs.o] Error 1 In file included from ../drivers/net/ethernet/intel/igc/igc_tsn.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_tsn.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_tsn.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_tsn.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_tsn.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_tsn.c:4: In file included from ../drivers/net/ethernet/intel/igc/igc.h:18: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igc/igc_tsn.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:19: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:19: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:19: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:19: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:19: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:19: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_ethtool.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx_common.h:7: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ethtool.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx_common.h:7: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ethtool.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx_common.h:7: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ethtool.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx_common.h:7: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ethtool.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx_common.h:7: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ethtool.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx_common.h:7: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_x540.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_nvm.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_nvm.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_nvm.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_nvm.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_nvm.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_nvm.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_nvm.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_txrx.o] Error 1 In file included from ../drivers/net/ethernet/intel/igc/igc_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/igc/igc_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/igc/igc_xdp.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/igc] Error 2 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_common.h:8: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_e610.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_base.c:4: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_base.c:4: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_base.c:4: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_base.c:4: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_base.c:4: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_base.c:4: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_base.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_ptp.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ptp.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ptp.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ptp.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ptp.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ptp.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_ptp.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_sched.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_sched.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sched.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_sched.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sched.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_sched.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sched.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_sched.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sched.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_sched.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sched.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_sched.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_sched.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_ddp.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ddp.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ddp.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ddp.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ddp.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_ddp.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_ddp.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_txrx_lib.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx_lib.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx_lib.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx_lib.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx_lib.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx_lib.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: In file included from ../include/net/libeth/rx.h:10: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_txrx_lib.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_lib.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lib.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lib.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lib.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lib.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lib.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_lib.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_txrx.c:9: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx.c:9: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx.c:9: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx.c:9: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx.c:9: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_txrx.c:9: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_txrx.o] Error 1 In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c:4: In file included from ../drivers/net/ethernet/intel/ixgbe/ixgbe.h:33: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/ixgbe] Error 2 In file included from ../drivers/net/ethernet/intel/ice/ice_fltr.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fltr.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fltr.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fltr.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fltr.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fltr.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_fltr.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_client.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_client.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_client.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_client.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_client.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_client.c:8: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_client.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:4: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:4: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:4: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:4: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:4: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:4: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_devlink.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_devlink.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_devlink.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_devlink.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_devlink.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_devlink.c:5: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_devlink.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_irq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_irq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_irq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_irq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_irq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_irq.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_irq.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_xsk.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_xsk.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_fdir.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fdir.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fdir.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fdir.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fdir.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fdir.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_fdir.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.o] Error 1 In file included from ../drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c:6: In file included from ../drivers/net/ethernet/intel/i40e/i40e.h:22: In file included from ../drivers/net/ethernet/intel/i40e/i40e_txrx.h:7: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/i40e/i40e_dcb_nl.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/i40e] Error 2 In file included from ../drivers/net/ethernet/intel/ice/ice_pf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_pf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_pf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_pf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_pf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_pf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_pf_vsi_vlan_ops.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/devlink/devlink.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/devlink.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/devlink.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/devlink.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/devlink.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/devlink.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/devlink/devlink.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_vlan_mode.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vlan_mode.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vlan_mode.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vlan_mode.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vlan_mode.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vlan_mode.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_vlan_mode.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_sf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_vsi_vlan_ops.c:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_sf_vsi_vlan_ops.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_idc.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_idc.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_idc.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_idc.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_idc.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_idc.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_idc.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_parser_rt.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser_rt.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser_rt.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser_rt.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser_rt.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser_rt.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_parser_rt.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_sf_eth.c:3: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_eth.c:3: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_eth.c:3: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_eth.c:3: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_eth.c:3: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_sf_eth.c:3: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_sf_eth.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_flow.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flow.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flow.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flow.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flow.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flow.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_flow.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_ethtool_fdir.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_flex_pipe.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flex_pipe.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flex_pipe.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flex_pipe.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flex_pipe.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_flex_pipe.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_flex_pipe.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c:5: In file included from ../drivers/net/ethernet/intel/ice/ice_lib.h:7: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/devlink/port.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/port.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/port.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/port.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/port.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/port.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/devlink/port.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/devlink/health.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/health.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/health.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/health.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/health.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/devlink/health.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/devlink/health.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_fw_update.c:8: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fw_update.c:8: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fw_update.c:8: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fw_update.c:8: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fw_update.c:8: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_fw_update.c:8: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_fw_update.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_lag.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lag.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lag.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lag.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lag.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_lag.c:6: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_lag.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_ddp.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ddp.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ddp.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ddp.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ddp.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_ddp.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_ddp.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_parser.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_parser.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_parser.o] Error 1 In file included from ../drivers/net/ethernet/intel/ice/ice_common.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_common.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_common.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_common.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_common.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/intel/ice/ice_common.c:4: In file included from ../drivers/net/ethernet/intel/ice/ice_common.h:9: In file included from ../drivers/net/ethernet/intel/ice/ice.h:51: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/intel/ice/ice_common.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel/ice] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/intel] Error 2 make[5]: *** [../scripts/Makefile.build:461: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[3]: *** [../scripts/Makefile.build:461: kernel] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2009: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:6: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:6: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' WARNING: modpost: missing MODULE_DESCRIPTION() in mm/kasan/kasan_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/bpf/test_run.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/bpf/test_run.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/ioctl.c:32: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ethtool/ioctl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/poll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/poll.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ethtool/channels.c:3: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ethtool/channels.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/ethtool] Error 2 In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_diag.c:14: In file included from ../net/xdp/xsk_queue.h:12: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_diag.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_queue.c:10: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_queue.o] Error 1 In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk.c:26: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk.o] Error 1 In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xdp_umem.c:19: In file included from ../net/xdp/xdp_umem.h:9: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xdp_umem.o] Error 1 In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/datagram.c:63: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/datagram.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/io_uring.c:96: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/io_uring.o] Error 1 In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/socket.c:108: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: net/socket.o] Error 1 In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sysctl_net_core.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/sysctl_net_core.o] Error 1 In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/xdp/xsk_buff_pool.c:5: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_buff_pool.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/xdp] Error 2 In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/sqpoll.c:19: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/sqpoll.o] Error 1 In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp.c:283: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_input.c:82: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_input.o] Error 1 In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/sock.c:146: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/sock.o] Error 1 In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/select.c:33: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: fs/select.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/udp.c:113: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/udp.o] Error 1 In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/register.c:29: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/register.o] Error 1 In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/udp.c:53: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv6/udp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:127:46: warning: shift count >= width of type [-Wshift-count-overflow] 127 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_pci_func.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_minisocks.c:24: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_minisocks.o] Error 1 In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/nvme/host/tcp.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/nvme/host/tcp.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/nvme/host] Error 2 make[4]: *** [../scripts/Makefile.build:461: drivers/nvme] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev-genl.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/netdev-genl.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_main.o] Error 1 In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv6/tcp_ipv6.c:62: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv6/tcp_ipv6.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/ipv6] Error 2 In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/zcrx.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/zcrx.o] Error 1 In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/xdp.c:21: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/xdp.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/dev.c:99: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/dev.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_nic.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ring.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_vec.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.o] Error 1 In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../io_uring/napi.c:4: In file included from ../io_uring/napi.h:8: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: io_uring/napi.o] Error 1 make[3]: *** [../scripts/Makefile.build:461: io_uring] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../net/core/page_pool.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool.c:15: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/page_pool.o] Error 1 In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/ipv4/tcp_ipv4.c:73: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_ipv4.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/ipv4] Error 2 In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/gro.c:4: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/gro.o] Error 1 In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/core.c:3186: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/core.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/netdev_rx_queue.c:7: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/netdev_rx_queue.o] Error 1 In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_xdp.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ethtool.o] Error 1 In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/inode.c:22: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/inode.o] Error 1 In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/verifier.c:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/verifier.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_filters.o] Error 1 In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/filter.c:57: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/filter.o] Error 1 In file included from ../net/core/page_pool_user.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool_user.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool_user.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool_user.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool_user.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/page_pool_user.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/page_pool_user.o] Error 1 In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_main.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o] Error 1 In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../net/core/net-sysfs.c:27: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: net/core/net-sysfs.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:461: net] Error 2 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.o] Error 1 In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../kernel/bpf/syscall.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/syscall.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.o] Error 1 In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.o] Error 1 make[8]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio/inline_crypto/chtls] Error 2 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio/inline_crypto] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_queues.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cavium/thunder] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cavium] Error 2 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.o] Error 1 In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cisco/enic/enic_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ptp.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_xdp.o] Error 1 In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../fs/eventpoll.c:41: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[4]: *** [../scripts/Makefile.build:203: fs/eventpoll.o] Error 1 make[3]: *** [../scripts/Makefile.build:461: fs] Error 2 In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/chelsio/cxgb4/sge.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio/cxgb4] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio] Error 2 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:15040:44: warning: shift count >= width of type [-Wshift-count-overflow] 15040 | if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)) != 0 && | ^~~~~~~~~~~~~~~~ ../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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_rxnfc.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/aquantia/atlantic] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/aquantia] Error 2 In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_tc.o] Error 1 In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_main.c:5836:49: warning: shift count >= width of type [-Wshift-count-overflow] 5836 | status = 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/emulex/benet/be_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/emulex/benet] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/emulex] Error 2 In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: In file included from ../drivers/net/ethernet/freescale/fec.h:25: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/fec_ptp.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/engleder/tsnep_main.c:2611:9: warning: shift count >= width of type [-Wshift-count-overflow] 2611 | 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 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_main.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_cbdr.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf_common.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.o] Error 1 In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_selftests.o] Error 1 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/engleder] Error 2 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_msg.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_flow_rule.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_tx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_utils.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:3528:46: warning: shift count >= width of type [-Wshift-count-overflow] 3528 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_ethtool.o] Error 1 In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tap.c:25: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/tap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/fec_main.o] Error 1 In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/veth.c:22: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/veth.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_adminq.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: In file included from ../include/net/xdp_sock_drv.h:10: In file included from ../include/net/xsk_buff_pool.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/google/gve/gve_main.c:2578:46: warning: shift count >= width of type [-Wshift-count-overflow] 2578 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_main.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx_dqo.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ierb.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.o] Error 1 In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: In file included from ../include/net/busy_poll.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cisco/enic/enic_rq.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cisco/enic] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cisco] Error 2 In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/broadcom/bnxt] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/broadcom] Error 2 In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/tun.c:65: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/tun.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/fungible/funeth] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/fungible] Error 2 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.o] Error 1 In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:17: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/google/gve] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/google] Error 2 In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/virtio_net.c:14: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc4_pf.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_qos.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_mdio.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_vf.o] Error 1 ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/dpaa] Error 2 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.o] Error 1 In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:45:46: warning: shift count >= width of type [-Wshift-count-overflow] 45 | 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 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ptp.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/enetc] Error 2 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/dpaa2] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale] Error 2 make[5]: *** [../scripts/Makefile.build:461: drivers/net/ethernet] Error 2 In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/bonding/bond_main.c:94: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/bonding/bond_main.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/bonding] Error 2 In file included from ../drivers/net/hyperv/netvsc.c:28: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc.c:28: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc.c:28: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc.c:28: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc.c:28: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc.c:28: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/xen-netfront.c:49: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[5]: *** [../scripts/Makefile.build:203: drivers/net/xen-netfront.o] Error 1 In file included from ../drivers/net/netdevsim/dev.c:36: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/dev.c:36: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/dev.c:36: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/dev.c:36: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/dev.c:36: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/dev.c:36: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/dev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/hyperv/netvsc_trace.c:4: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:4: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:4: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:4: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:4: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_trace.c:4: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc_trace.o] Error 1 In file included from ../drivers/net/hyperv/netvsc_drv.c:39: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_drv.c:39: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_drv.c:39: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_drv.c:39: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_drv.c:39: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_drv.c:39: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc_drv.o] Error 1 In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/vmxnet3/vmxnet3_xdp.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/hyperv/rndis_filter.c:25: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/rndis_filter.c:25: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/rndis_filter.c:25: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/rndis_filter.c:25: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/rndis_filter.c:25: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/rndis_filter.c:25: In file included from ../drivers/net/hyperv/hyperv_net.h:19: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/rndis_filter.o] Error 1 In file included from ../drivers/net/netdevsim/netdev.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/netdev.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/netdev.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/netdev.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/netdev.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/netdev.c:24: In file included from ../include/net/netdev_rx_queue.h:8: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/netdev.o] Error 1 In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:12: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc_bpf.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/hyperv] Error 2 In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/vmxnet3/vmxnet3_ethtool.o] Error 1 In file included from ../drivers/net/netdevsim/fib.c:33: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/fib.c:33: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/fib.c:33: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/fib.c:33: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/fib.c:33: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/fib.c:33: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/fib.o] Error 1 In file included from ../drivers/net/netdevsim/ethtool.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ethtool.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ethtool.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ethtool.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ethtool.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ethtool.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/ethtool.o] Error 1 In file included from ../drivers/net/netdevsim/psample.c:17: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/psample.c:17: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/psample.c:17: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/psample.c:17: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/psample.c:17: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/psample.c:17: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/psample.o] Error 1 In file included from ../drivers/net/netdevsim/macsec.c:4: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/macsec.c:4: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/macsec.c:4: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/macsec.c:4: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/macsec.c:4: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/macsec.c:4: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/macsec.o] Error 1 In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vmxnet3/vmxnet3_drv.c:3999:46: warning: shift count >= width of type [-Wshift-count-overflow] 3999 | 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 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/vmxnet3/vmxnet3_drv.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/vmxnet3] Error 2 In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/udp_tunnels.o] Error 1 In file included from ../drivers/net/netdevsim/bus.c:16: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bus.c:16: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bus.c:16: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bus.c:16: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bus.c:16: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bus.c:16: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/bus.o] Error 1 In file included from ../drivers/net/netdevsim/hwstats.c:5: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/hwstats.c:5: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/hwstats.c:5: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/hwstats.c:5: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/hwstats.c:5: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/hwstats.c:5: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/hwstats.o] Error 1 In file included from ../drivers/net/netdevsim/health.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/health.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/health.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/health.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/health.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/health.c:9: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/health.o] Error 1 In file included from ../drivers/net/netdevsim/bpf.c:24: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bpf.c:24: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bpf.c:24: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bpf.c:24: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bpf.c:24: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/bpf.c:24: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/bpf.o] Error 1 In file included from ../drivers/net/netdevsim/ipsec.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' 251 | __verify_pcpu_ptr(ptr); \ | ^ ../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ipsec.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ipsec.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' 154 | __ptr = (unsigned long) (ptr); \ | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ipsec.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ipsec.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ | bpf_iter_get_info ../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ | ^ ../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) | ^ ../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) | ^ ../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' 155 | (typeof(ptr)) (__ptr + (off)); }) | ^ ../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); | ^ In file included from ../drivers/net/netdevsim/ipsec.c:8: In file included from ../drivers/net/netdevsim/netdevsim.h:27: ../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/ipsec.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/netdevsim] Error 2 make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[3]: *** [../scripts/Makefile.build:461: kernel] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2009: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.33vHa3B258 2025-04-15 03:07:48.306234941 -0700 +++ /tmp/tmp.zaTAT5eK0b 2025-04-15 03:08:28.765696287 -0700 @@ -0,0 +1,13880 @@ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/bpf/test_run.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/bpf/test_run.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/bpf] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/ioctl.c:32: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/ethtool/ioctl.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/poll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:203: io_uring/poll.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ethtool/channels.c:3: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/ethtool/channels.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/ethtool] Error 2 +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_diag.c:14: +In file included from ../net/xdp/xsk_queue.h:12: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_diag.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_queue.c:10: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_queue.o] Error 1 +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk.c:26: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk.o] Error 1 +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xdp_umem.c:19: +In file included from ../net/xdp/xdp_umem.h:9: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/xdp/xdp_umem.o] Error 1 +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/datagram.c:63: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/datagram.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/io_uring.c:96: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:203: io_uring/io_uring.o] Error 1 +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/socket.c:108: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:203: net/socket.o] Error 1 +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sysctl_net_core.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/sysctl_net_core.o] Error 1 +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/xdp/xsk_buff_pool.c:5: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_buff_pool.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/xdp] Error 2 +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/sqpoll.c:19: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:203: io_uring/sqpoll.o] Error 1 +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp.c:283: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_input.c:82: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_input.o] Error 1 +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/sock.c:146: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/sock.o] Error 1 +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/select.c:33: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:203: fs/select.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/udp.c:113: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/ipv4/udp.o] Error 1 +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/register.c:29: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:203: io_uring/register.o] Error 1 +In file included from ../net/ipv6/udp.c:53: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:53: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:53: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:53: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:53: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/udp.c:53: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/ipv6/udp.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:127:46: warning: shift count >= width of type [-Wshift-count-overflow] + 127 | 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 6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_pci_func.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_minisocks.c:24: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_minisocks.o] Error 1 +In file included from ../drivers/nvme/host/tcp.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/nvme/host/tcp.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/nvme/host/tcp.o] Error 1 +make[5]: *** [../scripts/Makefile.build:461: drivers/nvme/host] Error 2 +make[4]: *** [../scripts/Makefile.build:461: drivers/nvme] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev-genl.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/netdev-genl.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:13: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_main.o] Error 1 +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv6/tcp_ipv6.c:62: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/ipv6/tcp_ipv6.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/ipv6] Error 2 +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../io_uring/zcrx.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/zcrx.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/zcrx.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/zcrx.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/zcrx.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/zcrx.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:203: io_uring/zcrx.o] Error 1 +In file included from ../net/core/xdp.c:21: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:21: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:21: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:21: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:21: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/xdp.c:21: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/xdp.o] Error 1 +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:18: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/dev.c:99: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/dev.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_nic.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ring.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_vec.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:17: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.o] Error 1 +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../io_uring/napi.c:4: +In file included from ../io_uring/napi.h:8: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:203: io_uring/napi.o] Error 1 +make[3]: *** [../scripts/Makefile.build:461: io_uring] Error 2 +make[3]: *** Waiting for unfinished jobs.... +In file included from ../net/core/page_pool.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool.c:15: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/page_pool.o] Error 1 +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/ipv4/tcp_ipv4.c:73: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_ipv4.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/ipv4] Error 2 +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/gro.c:4: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/gro.o] Error 1 +In file included from ../kernel/bpf/core.c:3186: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3186: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3186: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3186: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3186: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/core.c:3186: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/core.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../net/core/netdev_rx_queue.c:7: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:7: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:7: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:7: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:7: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/netdev_rx_queue.c:7: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/netdev_rx_queue.o] Error 1 +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +In file included from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9: +In file included from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_xdp.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/amazon/ena] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/amazon] Error 2 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:19: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:11: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ethtool.o] Error 1 +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/inode.c:22: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/inode.o] Error 1 +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:14: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_ethtool.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/verifier.c:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/verifier.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_filters.o] Error 1 +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/filter.c:57: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/filter.o] Error 1 +In file included from ../net/core/page_pool_user.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool_user.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool_user.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool_user.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool_user.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/page_pool_user.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/page_pool_user.o] Error 1 +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:18: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_main.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o] Error 1 +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../net/core/net-sysfs.c:27: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: net/core/net-sysfs.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/core] Error 2 +make[3]: *** [../scripts/Makefile.build:461: net] Error 2 +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.o] Error 1 +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../kernel/bpf/syscall.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/syscall.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: kernel/bpf] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_pci_func.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:12: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.o] Error 1 +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:19: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.o] Error 1 +make[8]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio/inline_crypto/chtls] Error 2 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio/inline_crypto] Error 2 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:18: +In file included from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_queues.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cavium/thunder] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cavium] Error 2 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.o] Error 1 +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_main.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cisco/enic/enic_main.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ptp.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:8: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.h:14: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:16: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.o] Error 1 +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_xdp.c:5: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_xdp.o] Error 1 +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../fs/eventpoll.c:41: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[4]: *** [../scripts/Makefile.build:203: fs/eventpoll.o] Error 1 +make[3]: *** [../scripts/Makefile.build:461: fs] Error 2 +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:47: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/chelsio/cxgb4/sge.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio/cxgb4] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/chelsio] Error 2 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:59: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:15040:44: warning: shift count >= width of type [-Wshift-count-overflow] + 15040 | if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)) != 0 && + | ^~~~~~~~~~~~~~~~ +../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 6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:19: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:16: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o] Error 1 +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_rxnfc.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:25: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:30: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:10: +In file included from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/aquantia/atlantic] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/aquantia] Error 2 +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_tc.o] Error 1 +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/emulex/benet/be_main.c:20: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/emulex/benet/be_main.c:5836:49: warning: shift count >= width of type [-Wshift-count-overflow] + 5836 | status = 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 6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/emulex/benet/be_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/emulex/benet] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/emulex] Error 2 +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_ptp.c:35: +In file included from ../drivers/net/ethernet/freescale/fec.h:25: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/fec_ptp.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/engleder/tsnep_main.c:2611:9: warning: shift count >= width of type [-Wshift-count-overflow] + 2611 | 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 6 errors generated. +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_main.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_cbdr.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf_common.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:7: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:14: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.o] Error 1 +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +In file included from ../drivers/net/ethernet/engleder/tsnep.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_selftests.o] Error 1 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/engleder] Error 2 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_msg.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_flow_rule.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:11: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_tx.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_utils.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/freescale/enetc/enetc.c:3528:46: warning: shift count >= width of type [-Wshift-count-overflow] + 3528 | 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 6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:11: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_ethtool.c:8: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_ethtool.o] Error 1 +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tap.c:25: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: drivers/net/tap.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:17: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.o] Error 1 +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:13: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/fec_main.c:72: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/fec_main.o] Error 1 +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/veth.c:22: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: drivers/net/veth.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_adminq.c:9: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_adminq.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_main.c:22: +In file included from ../include/net/xdp_sock_drv.h:10: +In file included from ../include/net/xsk_buff_pool.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/google/gve/gve_main.c:2578:46: warning: shift count >= width of type [-Wshift-count-overflow] + 2578 | 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 6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_main.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx_dqo.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:25: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ierb.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:16: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.o] Error 1 +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/cisco/enic/enic_rq.c:6: +In file included from ../include/net/busy_poll.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cisco/enic/enic_rq.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cisco/enic] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/cisco] Error 2 +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15: +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt.h:30: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/broadcom/bnxt] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/broadcom] Error 2 +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/tun.c:65: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: drivers/net/tun.o] Error 1 +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:21: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_txrx.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/fungible/funeth] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/fungible] Error 2 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.o] Error 1 +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +In file included from ../drivers/net/ethernet/google/gve/gve.h:17: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/google/gve] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/google] Error 2 +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/virtio_net.c:14: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc4_pf.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_qos.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:10: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_mdio.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:5: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_vf.o] Error 1 @@ -2,45 +13882,3752 @@ -In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: -In file included from ../include/linux/module.h:13: -In file included from ../include/linux/stat.h:19: -In file included from ../include/linux/time.h:60: -In file included from ../include/linux/time32.h:13: -In file included from ../include/linux/timex.h:67: -In file included from ../arch/x86/include/asm/timex.h:5: -In file included from ../arch/x86/include/asm/processor.h:19: -In file included from ../arch/x86/include/asm/cpuid.h:6: -In file included from ../arch/x86/include/asm/cpuid/api.h:57: -In file included from ../arch/x86/include/asm/paravirt.h:21: -In file included from ../include/linux/cpumask.h:12: -In file included from ../include/linux/bitmap.h:13: -In file included from ../include/linux/string.h:392: -../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^ -1 warning generated. -In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: -In file included from ../include/linux/if_vlan.h:10: -In file included from ../include/linux/netdevice.h:24: -In file included from ../include/linux/timer.h:6: -In file included from ../include/linux/ktime.h:25: -In file included from ../include/linux/jiffies.h:10: -In file included from ../include/linux/time.h:60: -In file included from ../include/linux/time32.h:13: -In file included from ../include/linux/timex.h:67: -In file included from ../arch/x86/include/asm/timex.h:5: -In file included from ../arch/x86/include/asm/processor.h:19: -In file included from ../arch/x86/include/asm/cpuid.h:6: -In file included from ../arch/x86/include/asm/cpuid/api.h:57: -In file included from ../arch/x86/include/asm/paravirt.h:21: -In file included from ../include/linux/cpumask.h:12: -In file included from ../include/linux/bitmap.h:13: -In file included from ../include/linux/string.h:392: -../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] - 580 | __read_overflow2_field(q_size_field, size); - | ^ -1 warning generated. -../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new -../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' -../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new -../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' -WARNING: modpost: missing MODULE_DESCRIPTION() in mm/kasan/kasan_test.o -WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:9: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:33: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:15: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:10: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:11: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/dpaa] Error 2 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:6: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:7: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:15: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:8: +In file included from ../drivers/net/ethernet/freescale/enetc/enetc.h:14: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:45:46: warning: shift count >= width of type [-Wshift-count-overflow] + 45 | 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 6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ptp.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/enetc] Error 2 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/dpaa2] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale] Error 2 +make[5]: *** [../scripts/Makefile.build:461: drivers/net/ethernet] Error 2 +In file included from ../drivers/net/bonding/bond_main.c:94: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/bonding/bond_main.c:94: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/bonding/bond_main.c:94: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/bonding/bond_main.c:94: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/bonding/bond_main.c:94: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/bonding/bond_main.c:94: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/bonding/bond_main.o] Error 1 +make[5]: *** [../scripts/Makefile.build:461: drivers/net/bonding] Error 2 +In file included from ../drivers/net/hyperv/netvsc.c:28: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc.c:28: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc.c:28: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc.c:28: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc.c:28: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc.c:28: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/xen-netfront.c:49: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[5]: *** [../scripts/Makefile.build:203: drivers/net/xen-netfront.o] Error 1 +In file included from ../drivers/net/netdevsim/dev.c:36: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/dev.c:36: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/dev.c:36: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/dev.c:36: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/dev.c:36: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/dev.c:36: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/dev.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/hyperv/netvsc_trace.c:4: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_trace.c:4: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_trace.c:4: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_trace.c:4: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_trace.c:4: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_trace.c:4: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc_trace.o] Error 1 +In file included from ../drivers/net/hyperv/netvsc_drv.c:39: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_drv.c:39: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_drv.c:39: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_drv.c:39: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_drv.c:39: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_drv.c:39: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc_drv.o] Error 1 +In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/vmxnet3/vmxnet3_xdp.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/hyperv/rndis_filter.c:25: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/rndis_filter.c:25: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/rndis_filter.c:25: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/rndis_filter.c:25: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/rndis_filter.c:25: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/rndis_filter.c:25: +In file included from ../drivers/net/hyperv/hyperv_net.h:19: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/rndis_filter.o] Error 1 +In file included from ../drivers/net/netdevsim/netdev.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/netdev.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/netdev.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/netdev.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/netdev.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/netdev.c:24: +In file included from ../include/net/netdev_rx_queue.h:8: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/netdev.o] Error 1 +In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/hyperv/netvsc_bpf.c:15: +In file included from ../include/linux/bpf_trace.h:5: +In file included from ../include/trace/events/xdp.h:12: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc_bpf.o] Error 1 +make[5]: *** [../scripts/Makefile.build:461: drivers/net/hyperv] Error 2 +In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/vmxnet3/vmxnet3_ethtool.o] Error 1 +In file included from ../drivers/net/netdevsim/fib.c:33: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/fib.c:33: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/fib.c:33: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/fib.c:33: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/fib.c:33: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/fib.c:33: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/fib.o] Error 1 +In file included from ../drivers/net/netdevsim/ethtool.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ethtool.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ethtool.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ethtool.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ethtool.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ethtool.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/ethtool.o] Error 1 +In file included from ../drivers/net/netdevsim/psample.c:17: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/psample.c:17: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/psample.c:17: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/psample.c:17: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/psample.c:17: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/psample.c:17: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/psample.o] Error 1 +In file included from ../drivers/net/netdevsim/macsec.c:4: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/macsec.c:4: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/macsec.c:4: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/macsec.c:4: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/macsec.c:4: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/macsec.c:4: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/macsec.o] Error 1 +In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:30: +In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:61: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/vmxnet3/vmxnet3_drv.c:3999:46: warning: shift count >= width of type [-Wshift-count-overflow] + 3999 | 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 6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/vmxnet3/vmxnet3_drv.o] Error 1 +make[5]: *** [../scripts/Makefile.build:461: drivers/net/vmxnet3] Error 2 +In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/udp_tunnels.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/udp_tunnels.o] Error 1 +In file included from ../drivers/net/netdevsim/bus.c:16: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bus.c:16: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bus.c:16: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bus.c:16: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bus.c:16: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bus.c:16: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/bus.o] Error 1 +In file included from ../drivers/net/netdevsim/hwstats.c:5: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/hwstats.c:5: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/hwstats.c:5: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/hwstats.c:5: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/hwstats.c:5: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/hwstats.c:5: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/hwstats.o] Error 1 +In file included from ../drivers/net/netdevsim/health.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/health.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/health.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/health.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/health.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/health.c:9: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/health.o] Error 1 +In file included from ../drivers/net/netdevsim/bpf.c:24: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bpf.c:24: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bpf.c:24: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bpf.c:24: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bpf.c:24: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/bpf.c:24: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/bpf.o] Error 1 +In file included from ../drivers/net/netdevsim/ipsec.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:251:20: note: expanded from macro 'this_cpu_ptr' + 251 | __verify_pcpu_ptr(ptr); \ + | ^ +../include/linux/percpu-defs.h:220:47: note: expanded from macro '__verify_pcpu_ptr' + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ipsec.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ipsec.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:154:31: note: expanded from macro 'RELOC_HIDE' + 154 | __ptr = (unsigned long) (ptr); \ + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ipsec.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:19: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:244:47: note: expanded from macro 'TYPEOF_UNQUAL' + 244 | # define TYPEOF_UNQUAL(exp) __typeof_unqual__(exp) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ipsec.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:47: error: use of undeclared identifier 'bpf_redirect_info'; did you mean 'bpf_iter_get_info'? + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ + | bpf_iter_get_info +../include/linux/percpu-defs.h:252:19: note: expanded from macro 'this_cpu_ptr' + 252 | SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ + | ^ +../include/linux/percpu-defs.h:234:24: note: expanded from macro 'SHIFT_PERCPU_PTR' + 234 | RELOC_HIDE(PERCPU_PTR(__p), (__offset)) + | ^ +../include/linux/percpu-defs.h:225:69: note: expanded from macro 'PERCPU_PTR' + 225 | (TYPEOF_UNQUAL(*(__p)) __force __kernel *)((__force unsigned long)(__p)) + | ^ +../include/linux/compiler.h:155:13: note: expanded from macro 'RELOC_HIDE' + 155 | (typeof(ptr)) (__ptr + (off)); }) + | ^ +../include/linux/bpf.h:2592:18: note: 'bpf_iter_get_info' declared here + 2592 | struct bpf_prog *bpf_iter_get_info(struct bpf_iter_meta *meta, bool in_stop); + | ^ +In file included from ../drivers/net/netdevsim/ipsec.c:8: +In file included from ../drivers/net/netdevsim/netdevsim.h:27: +../include/net/xdp.h:654:28: error: incompatible pointer types initializing 'struct bpf_redirect_info *' with an expression of type 'typeof ((typeof_unqual (*(&bpf_iter_get_info)) *)((unsigned long)(&bpf_iter_get_info)))' (aka 'struct bpf_prog *(*)(struct bpf_iter_meta *, _Bool)') [-Werror,-Wincompatible-pointer-types] + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +6 errors generated. +make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/ipsec.o] Error 1 +make[5]: *** [../scripts/Makefile.build:461: drivers/net/netdevsim] Error 2 +make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 +make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 +make[3]: *** [../scripts/Makefile.build:461: kernel] Error 2 +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2009: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.9R0L8p4JIF 2025-04-15 03:08:28.803695899 -0700 +++ /tmp/tmp.0OW6rDToNY 2025-04-15 03:08:28.824695685 -0700 @@ -1,3 +1,9 @@ - 1 ../drivers/net/ethernet/sfc/ptp.c - 1 ../drivers/net/ethernet/sfc/siena/ptp.c - 2 ../include/linux/fortify-string.h + 1 ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c + 1 ../drivers/net/ethernet/broadcom/bnxt/bnxt.c + 1 ../drivers/net/ethernet/emulex/benet/be_main.c + 1 ../drivers/net/ethernet/engleder/tsnep_main.c + 1 ../drivers/net/ethernet/freescale/enetc/enetc.c + 1 ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c + 1 ../drivers/net/ethernet/google/gve/gve_main.c + 1 ../drivers/net/vmxnet3/vmxnet3_drv.c + 924 ../include/net/xdp.h