========== build_allmodconfig_warn - FAILED In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../fs/select.c:18: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../net/socket.c:55: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: net/socket.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../io_uring/poll.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/poll.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../net/bpf/test_run.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/bpf/test_run.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/bpf] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/mm.h:7, from ../io_uring/sqpoll.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/sqpoll.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../net/ethtool/ioctl.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ethtool/ioctl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../net/core/datagram.c:37: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/datagram.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/net/xdp_sock.h:9, from ../include/net/xdp_sock_drv.h:9, from ../net/ethtool/channels.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/filter.h:9, from ../net/core/sysctl_net_core.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/sysctl_net_core.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/uapi/linux/aio_abi.h:31, from ../include/linux/syscalls.h:83, from ../io_uring/io_uring.c:45: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/io_uring.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/ip.h:16, from ../include/net/ip.h:22, from ../include/linux/errqueue.h:6, from ../net/core/sock.c:91: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/sock.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/sched/mm.h:7, from ../net/xdp/xdp_umem.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/xdp/xdp_umem.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/uapi/linux/aio_abi.h:31, from ../include/linux/syscalls.h:83, from ../io_uring/register.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/register.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/tcp.h:17, from ../include/net/tcp.h:20, from ../net/ipv4/tcp_minisocks.c:22: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_minisocks.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../net/ipv6/udp.c:20: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv6/udp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:16, from ../net/xdp/xsk_queue.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_queue.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../include/linux/dma-map-ops.h:9, from ../io_uring/zcrx.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/zcrx.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/sched/mm.h:7, from ../net/xdp/xsk.c:16: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/bottom_half.h:6, from ../net/ipv4/tcp_ipv4.c:50: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_ipv4.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../net/xdp/xsk_diag.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_diag.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/swait.h:7, from ../include/linux/completion.h:12, from ../include/linux/crypto.h:15, from ../include/crypto/hash.h:12, from ../net/ipv4/tcp.c:246: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../net/xdp/xsk_buff_pool.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/nvme/host/tcp.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/smp.h:116, from ../include/linux/lockdep.h:14, from ../io_uring/io_uring.h:5, from ../io_uring/napi.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/napi.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:461: io_uring] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/bottom_half.h:6, from ../net/ipv6/tcp_ipv6.c:22: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/mm.h:7, from ../net/ipv4/tcp_input.c:67: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_input.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/namei.h:5, from ../kernel/bpf/inode.c:15: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/inode.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/filter.h:9, from ../kernel/bpf/core.c:21: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/core.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../include/linux/dim.h:9, from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:10, from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9, from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_xdp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:8: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_netdev.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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../kernel/bpf/syscall.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/syscall.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/uaccess.h:9, from ../net/core/dev.c:71: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/dev.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:12, from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/alloc_tag.h:11, from ../include/linux/percpu.h:5, from ../include/linux/context_tracking_state.h:5, from ../include/linux/hardirq.h:5, from ../include/linux/interrupt.h:11, from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_pci_func.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:15, from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_vec.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf_verifier.h:7, from ../net/core/filter.c:21: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/filter.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_nic.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../net/core/xdp.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/xdp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../net/ipv4/udp.c:77: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/ip.h:16, from ../include/net/gro.h:7, from ../net/core/gro.c:2: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/gro.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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ring.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/iopoll.h:11, from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.h:15, from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9, from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_filters.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h:12, from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:8: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:14: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:13, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/iopoll.h:11, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_rxnfc.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_hw.h:15, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../include/linux/dim.h:9, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/tap.c:2: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/tap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:8: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/cisco/enic/enic_main.c:20: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../kernel/bpf/verifier.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/verifier.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ptp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/debugfs.h:15, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/veth.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/veth.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_main.c:18: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_main.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_selftests.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../include/linux/if_vlan.h:10, from ../drivers/net/ethernet/engleder/tsnep_xdp.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_xdp.o] Error 1 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/engleder] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:35: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/ethernet/aquantia/atlantic/aq_macsec.h:9, from ../drivers/net/ethernet/aquantia/atlantic/aq_macsec.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_macsec.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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/aquantia/atlantic] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/aquantia] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/phy.h:15, from ../include/linux/fsl/enetc_mdio.h:7, from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf_common.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../include/uapi/linux/ethtool_netlink.h:12, from ../include/linux/ethtool_netlink.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/tun.c:35: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/tun.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_cbdr.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_qos.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/virtio_net.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../include/linux/prefetch.h:15, from ../drivers/net/ethernet/emulex/benet/be_main.c:14: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_msg.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:5: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/fec_ptp.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../drivers/net/ethernet/cisco/enic/enic_rq.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cisco/enic/enic_rq.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/notifier.h:14, from ../include/linux/clk.h:14, from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc4_pf.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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_vf.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/fec_main.c:25: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/fec_main.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/kref.h:16, from ../include/linux/mm_types.h:8, from ../include/linux/uio.h:9, from ../include/linux/socket.h:8, from ../include/uapi/linux/net_tstamp.h:14, from ../include/linux/net_tstamp.h:6, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/of.h:18, from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/irqflags.h:9, from ../include/linux/irqflags.h:18, from ../arch/x86/include/asm/special_insns.h:10, from ../arch/x86/include/asm/io.h:45, from ../include/linux/io.h:12, from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:20: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ierb.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt.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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/phy.h:15, from ../include/linux/fsl/enetc_mdio.h:7, from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:16, from ../include/linux/resource_ext.h:11, from ../include/linux/acpi.h:13, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/phy.h:15, from ../include/linux/fsl/enetc_mdio.h:7, from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_mdio.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:10, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/xen-netfront.c:34: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/xen-netfront.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:5: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/bonding/bond_main.c:36: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/filter.h:9, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:10, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/hyperv/rndis_filter.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/rndis_filter.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/hyperv/netvsc_drv.c:13: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc_drv.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/debugfs.h:15, from ../drivers/net/netdevsim/ethtool.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/ethtool.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/debugfs.h:15, from ../drivers/net/netdevsim/health.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/health.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../drivers/net/hyperv/netvsc.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/rhashtable.h:25, from ../drivers/net/netdevsim/fib.c:21: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/fib.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/smp.h:116, from ../include/linux/lockdep.h:14, from ../include/linux/seqlock.h:18, from ../include/linux/u64_stats_sync.h:62, from ../include/net/macsec.h:10, from ../drivers/net/netdevsim/macsec.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/macsec.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/debugfs.h:15, from ../drivers/net/netdevsim/psample.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/psample.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/swait.h:7, from ../include/linux/completion.h:12, from ../include/linux/crypto.h:15, from ../include/crypto/aead.h:13, from ../drivers/net/netdevsim/ipsec.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/ipsec.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/hyperv/netvsc_bpf.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc_bpf.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/debugfs.h:15, from ../drivers/net/netdevsim/udp_tunnels.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/udp_tunnels.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/vmxnet3/vmxnet3_int.h:31, from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/vmxnet3/vmxnet3_ethtool.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/vmxnet3/vmxnet3_drv.c:27: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/vmxnet3/vmxnet3_drv.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/vmxnet3/vmxnet3_int.h:31, from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/vmxnet3/vmxnet3_xdp.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/vmxnet3] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/hyperv/netvsc_trace.c:2: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/hyperv/netvsc_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:461: drivers/net/hyperv] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/debugfs.h:15, from ../drivers/net/netdevsim/hwstats.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/hwstats.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/debugfs.h:15, from ../drivers/net/netdevsim/netdev.c:16: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/netdev.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/debugfs.h:15, from ../drivers/net/netdevsim/dev.c:18: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/dev.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/swait.h:7, from ../include/linux/completion.h:12, from ../drivers/net/netdevsim/bus.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/bus.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../drivers/net/netdevsim/bpf.c:16: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:203: drivers/net/netdevsim/bpf.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 ../net/socket.c:1671:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../net/bpf/test_run.c:521:17: warning: symbol 'bpf_fentry_test1' was not declared. Should it be static? ../net/bpf/test_run.c:527:14: warning: symbol 'bpf_fentry_test2' was not declared. Should it be static? ../net/bpf/test_run.c:532:14: warning: symbol 'bpf_fentry_test3' was not declared. Should it be static? ../net/bpf/test_run.c:537:14: warning: symbol 'bpf_fentry_test4' was not declared. Should it be static? ../net/bpf/test_run.c:542:14: warning: symbol 'bpf_fentry_test5' was not declared. Should it be static? ../net/bpf/test_run.c:547:14: warning: symbol 'bpf_fentry_test6' was not declared. Should it be static? ../net/bpf/test_run.c:556:14: warning: symbol 'bpf_fentry_test7' was not declared. Should it be static? ../net/bpf/test_run.c:562:14: warning: symbol 'bpf_fentry_test8' was not declared. Should it be static? ../net/bpf/test_run.c:567:17: warning: symbol 'bpf_fentry_test9' was not declared. Should it be static? ../net/bpf/test_run.c:572:15: warning: symbol 'bpf_fentry_test_sinfo' was not declared. Should it be static? ../net/bpf/test_run.c:576:17: warning: symbol 'bpf_modify_return_test' was not declared. Should it be static? ../net/bpf/test_run.c:582:17: warning: symbol 'bpf_modify_return_test2' was not declared. Should it be static? ../net/bpf/test_run.c:589:17: warning: symbol 'bpf_modify_return_test_tp' was not declared. Should it be static? ../net/bpf/test_run.c:596:14: warning: symbol 'bpf_fentry_shadow_test' was not declared. Should it be static? ../net/bpf/test_run.c:618:18: warning: symbol 'bpf_kfunc_call_test_release' was not declared. Should it be static? ../net/bpf/test_run.c:623:18: warning: symbol 'bpf_kfunc_call_test_release_dtor' was not declared. Should it be static? ../net/bpf/test_run.c:629:18: warning: symbol 'bpf_kfunc_call_memb_release' was not declared. Should it be static? ../net/bpf/test_run.c:633:18: warning: symbol 'bpf_kfunc_call_memb_release_dtor' was not declared. Should it be static? ../io_uring/poll.c:426:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:426:40: expected int mask ../io_uring/poll.c:426:40: got restricted __poll_t [usertype] mask ../io_uring/poll.c:262:38: warning: incorrect type in assignment (different base types) ../io_uring/poll.c:262:38: expected signed int [usertype] res ../io_uring/poll.c:262:38: got restricted __poll_t ../io_uring/poll.c:276:21: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:284:56: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:283:66: warning: incorrect type in argument 1 (different base types) ../io_uring/poll.c:283:66: expected restricted __poll_t [usertype] val ../io_uring/poll.c:283:66: got unsigned int ../io_uring/poll.c:283:52: warning: incorrect type in initializer (different base types) ../io_uring/poll.c:283:52: expected restricted __poll_t [usertype] mask ../io_uring/poll.c:283:52: got unsigned short ../io_uring/poll.c:286:51: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:286:51: expected signed int [usertype] res ../io_uring/poll.c:286:51: got restricted __poll_t [usertype] mask ../io_uring/poll.c:287:53: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:287:53: expected signed int [usertype] res ../io_uring/poll.c:287:53: got restricted __poll_t [usertype] mask ../io_uring/poll.c:337:71: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:337:65: warning: incorrect type in argument 1 (different base types) ../io_uring/poll.c:337:65: expected restricted __poll_t [usertype] val ../io_uring/poll.c:337:65: got unsigned int ../io_uring/poll.c:614:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:614:40: expected int mask ../io_uring/poll.c:614:40: got restricted __poll_t [assigned] [usertype] mask ../io_uring/poll.c:677:45: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:677:43: warning: incorrect type in initializer (different base types) ../io_uring/poll.c:677:43: expected restricted __poll_t [usertype] mask ../io_uring/poll.c:677:43: got unsigned int ../io_uring/poll.c:711:38: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:711:38: expected int mask ../io_uring/poll.c:711:38: got restricted __poll_t [assigned] [usertype] mask ../io_uring/poll.c:711:55: warning: incorrect type in argument 3 (different base types) ../io_uring/poll.c:711:55: expected int events ../io_uring/poll.c:711:55: got restricted __poll_t [usertype] events ../io_uring/poll.c:831:24: warning: invalid assignment: |= ../io_uring/poll.c:831:24: left side has type unsigned int ../io_uring/poll.c:831:24: right side has type restricted __poll_t ../io_uring/poll.c:833:24: warning: invalid assignment: |= ../io_uring/poll.c:833:24: left side has type unsigned int ../io_uring/poll.c:833:24: right side has type restricted __poll_t ../io_uring/poll.c:835:55: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:834:29: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:834:38: warning: incorrect type in return expression (different base types) ../io_uring/poll.c:834:38: expected restricted __poll_t ../io_uring/poll.c:834:38: got unsigned int ../io_uring/poll.c:895:40: warning: incorrect type in argument 2 (different base types) ../io_uring/poll.c:895:40: expected signed int [usertype] res ../io_uring/poll.c:895:40: got restricted __poll_t [addressable] [assigned] [usertype] result_mask ../io_uring/poll.c:926:38: warning: invalid assignment: &= ../io_uring/poll.c:926:38: left side has type restricted __poll_t ../io_uring/poll.c:926:38: right side has type int ../io_uring/poll.c:927:52: warning: restricted __poll_t degrades to integer ../io_uring/poll.c:927:38: warning: invalid assignment: |= ../io_uring/poll.c:927:38: left side has type restricted __poll_t ../io_uring/poll.c:927:38: right side has type unsigned int ../net/core/datagram.c: note: in included file (through ../include/linux/skbuff.h, ../include/net/net_namespace.h, ../include/linux/inet.h): ../include/net/checksum.h:41:45: warning: incorrect type in argument 3 (different base types) ../include/net/checksum.h:41:45: expected restricted __wsum [usertype] sum ../include/net/checksum.h:41:45: got unsigned int ../io_uring/sqpoll.c: note: in included file (through ../io_uring/io_uring.h): ../include/linux/io_uring_types.h:201:37: warning: array of flexible structures ../io_uring/sqpoll.c:42:9: warning: context imbalance in 'io_sq_thread_unpark' - wrong count at exit ../io_uring/sqpoll.c:54:9: warning: context imbalance in 'io_sq_thread_park' - wrong count at exit ../io_uring/io_uring.c: note: in included file (through ../include/linux/io_uring/cmd.h): ../include/linux/io_uring_types.h:201:37: warning: array of flexible structures ../io_uring/io_uring.c:606:36: warning: context imbalance in 'io_req_post_cqe' - unexpected unlock ../io_uring/io_uring.c:608:17: warning: context imbalance in '__io_submit_flush_completions' - different lock contexts for basic block ../io_uring/io_uring.c: note: in included file (through ../include/linux/alarmtimer.h, ../include/linux/posix-timers.h, ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ...): ../include/linux/hrtimer.h:348:9: warning: dereference of noderef expression ../io_uring/io_uring.c:2415:29: warning: context imbalance in 'io_cqring_min_timer_wakeup' - different lock contexts for basic block ../net/core/sock.c:2533:9: warning: context imbalance in 'sk_clone_lock' - different lock contexts for basic block ../net/core/sock.c:4197:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4209:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../net/ipv4/tcp_ipv4.c:3415:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3415:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3415:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3537:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3537:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3537:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3541:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3541:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3541:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:1846:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2139:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2401:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block ../net/ipv4/tcp_ipv4.c:2612:13: warning: context imbalance in 'listening_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2660:29: warning: context imbalance in 'listening_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2693:13: warning: context imbalance in 'established_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2738:40: warning: context imbalance in 'established_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2870:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3091:20: warning: context imbalance in 'bpf_iter_tcp_listening_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3119:40: warning: context imbalance in 'bpf_iter_tcp_established_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3416:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3416:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3538:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3538:45: warning: dereference of noderef expression ../net/ipv4/tcp_input.c:7368:17: warning: context imbalance in 'tcp_conn_request' - unexpected unlock ../io_uring/register.c: note: in included file: ../include/linux/io_uring_types.h:201:37: warning: array of flexible structures ../net/ipv6/tcp_ipv6.c:1563:25: warning: context imbalance in 'tcp_v6_syn_recv_sock' - unexpected unlock ../net/ipv6/tcp_ipv6.c:1954:21: warning: context imbalance in 'tcp_v6_rcv' - different lock contexts for basic block ../net/core/dev.c:3625:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3625:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3625:23: got unsigned int ../net/core/dev.c:3625:23: warning: cast from restricted __wsum ../net/core/dev.c:5599:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4080:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5557:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2961:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:382:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../fs/eventpoll.c:647:9: warning: restricted __poll_t degrades to integer ../fs/eventpoll.c:647:9: warning: cast to restricted __poll_t ../fs/eventpoll.c:1418:53: warning: incorrect type in argument 3 (different base types) ../fs/eventpoll.c:1418:53: expected unsigned int pollflags ../fs/eventpoll.c:1418:53: got restricted __poll_t ../kernel/bpf/verifier.c:348:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22375:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../net/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1423:39: expected struct sock_filter const *filter ../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1501:39: expected struct sock_filter const *filter ../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2323:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2323:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2323:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3923:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4655:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5069:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8006:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11979:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11995:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12011:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12032:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12129:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12251:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1931:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1931:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1931:43: got unsigned long long [usertype] to ../net/core/filter.c:1934:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1934:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1934:36: got unsigned long long [usertype] from ../net/core/filter.c:1934:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1934:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1934:42: got unsigned long long [usertype] to ../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1937:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1937:36: got unsigned long long [usertype] from ../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1937:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1937:42: got unsigned long long [usertype] to ../net/core/filter.c:1982:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1982:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1982:59: got unsigned long long [usertype] to ../net/core/filter.c:1985:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1985:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1985:52: got unsigned long long [usertype] from ../net/core/filter.c:1985:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1985:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1985:58: got unsigned long long [usertype] to ../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1988:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1988:52: got unsigned long long [usertype] from ../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1988:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1988:58: got unsigned long long [usertype] to ../net/core/filter.c:2055:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2055:35: expected unsigned long long ../net/core/filter.c:2055:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5926:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5926:17: expected unsigned int [usertype] spi ../net/core/filter.c:5926:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5934:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5934:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5934:33: got restricted __be32 const [usertype] a4 ../io_uring/napi.c:84:12: warning: context imbalance in '__io_napi_del_id' - wrong count at exit ../io_uring/napi.c:116:9: warning: context imbalance in '__io_napi_remove_stale' - wrong count at exit ../io_uring/napi.c: note: in included file (through ../io_uring/io_uring.h): ../include/linux/io_uring_types.h:201:37: warning: array of flexible structures ../io_uring/napi.c:263:27: warning: context imbalance in 'io_napi_free' - wrong count at exit ../net/sctp/socket.c:8506:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock ../net/ipv4/udp.c:1665:28: warning: context imbalance in 'udp_rmem_release' - unexpected unlock ../net/ipv4/udp.c:1697:19: warning: context imbalance in 'busylock_acquire' - wrong count at exit ../net/ipv4/udp.c:1709:28: warning: context imbalance in 'busylock_release' - unexpected unlock ../net/ipv4/udp.c:3301:9: warning: context imbalance in 'udp_get_first' - wrong count at exit ../net/ipv4/udp.c:3318:39: warning: context imbalance in 'udp_get_next' - unexpected unlock ../net/ipv4/udp.c:3366:31: warning: context imbalance in 'udp_seq_stop' - unexpected unlock ../net/core/xdp.c:899:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? ../net/core/xdp.c:921:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? ../net/core/xdp.c:954:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:61:27: warning: symbol 'hw_atl2_caps_aqc113' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:72:27: warning: symbol 'hw_atl2_caps_aqc115c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:81:27: warning: symbol 'hw_atl2_caps_aqc116c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:825:24: warning: symbol 'hw_atl2_ops' was not declared. Should it be static? ../drivers/net/ethernet/cisco/enic/enic_main.c:270:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:274:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:629:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:636:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2662:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2662 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2662:52: note: directive argument in the range [-2147483639, 2147483646] 2662 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2662:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2662 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2663 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: cast to restricted __le64 ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: expected unsigned short ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: expected unsigned int [usertype] fragpa_lo ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: expected unsigned int [usertype] fragpa_hi ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: got restricted __le32 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2936:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2936:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2936:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2981:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3041:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3041:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3041:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3045:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3045:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3045:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3047:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3047:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3047:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3049:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3049:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3049:36: got int ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:599:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:33:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:36:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:46:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:49:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:865:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:126:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:130:41: warning: restricted __be32 degrades to integer ../scripts/Makefile.build:203: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1623:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2826:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: got int ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: got int ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4478:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:54: note: directive argument in the range [-2147483641, 65534] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1904 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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/tx.c:495:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/intel/ice/ice_ptp.c:301:5: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:901:9: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping ../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 ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../io_uring/poll.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/poll.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../net/socket.c:55: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: net/socket.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../fs/select.c:18: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../net/ethtool/ioctl.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ethtool/ioctl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/mm.h:7, from ../io_uring/sqpoll.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/sqpoll.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../net/bpf/test_run.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/bpf/test_run.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/bpf] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/net/xdp_sock.h:9, from ../include/net/xdp_sock_drv.h:9, from ../net/ethtool/channels.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../net/core/datagram.c:37: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/datagram.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/sched/mm.h:7, from ../net/xdp/xdp_umem.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/xdp/xdp_umem.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:16, from ../net/xdp/xsk_queue.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_queue.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../net/xdp/xsk_diag.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_diag.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/uapi/linux/aio_abi.h:31, from ../include/linux/syscalls.h:83, from ../io_uring/io_uring.c:45: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/io_uring.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/sched/mm.h:7, from ../net/xdp/xsk.c:16: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/ip.h:16, from ../include/net/ip.h:22, from ../include/linux/errqueue.h:6, from ../net/core/sock.c:91: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/sock.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/uapi/linux/aio_abi.h:31, from ../include/linux/syscalls.h:83, from ../io_uring/register.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/register.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../net/xdp/xsk_buff_pool.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/filter.h:9, from ../net/core/sysctl_net_core.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/sysctl_net_core.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/tcp.h:17, from ../include/net/tcp.h:20, from ../net/ipv4/tcp_minisocks.c:22: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_minisocks.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/nvme/host/tcp.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../net/ipv6/udp.c:20: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv6/udp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/bottom_half.h:6, from ../net/ipv4/tcp_ipv4.c:50: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_ipv4.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/swait.h:7, from ../include/linux/completion.h:12, from ../include/linux/crypto.h:15, from ../include/crypto/hash.h:12, from ../net/ipv4/tcp.c:246: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/smp.h:116, from ../include/linux/lockdep.h:14, from ../io_uring/io_uring.h:5, from ../io_uring/napi.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/napi.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../include/linux/dma-map-ops.h:9, from ../io_uring/zcrx.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[4]: *** [../scripts/Makefile.build:203: io_uring/zcrx.o] Error 1 make[3]: *** [../scripts/Makefile.build:461: io_uring] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/mm.h:7, from ../net/ipv4/tcp_input.c:67: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_input.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:15, from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_vec.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/filter.h:9, from ../kernel/bpf/core.c:21: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/core.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/alloc_tag.h:11, from ../include/linux/percpu.h:5, from ../include/linux/context_tracking_state.h:5, from ../include/linux/hardirq.h:5, from ../include/linux/interrupt.h:11, from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:12, from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_main.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:8: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ring.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/bottom_half.h:6, from ../net/ipv6/tcp_ipv6.c:22: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/iopoll.h:11, from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.h:15, from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_nic.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../net/core/xdp.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/xdp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../include/linux/dim.h:9, from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:10, from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9, from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/namei.h:5, from ../kernel/bpf/inode.c:15: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/inode.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h:12, from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../kernel/bpf/syscall.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/syscall.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../net/core/netdev-genl.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/netdev-genl.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:16, from ../net/sctp/ulpqueue.c:22: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/sctp/ulpqueue.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../net/ipv4/udp.c:77: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/uaccess.h:9, from ../net/core/dev.c:71: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/dev.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf_verifier.h:7, from ../net/core/filter.c:21: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/filter.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/ip.h:16, from ../include/net/gro.h:7, from ../net/core/gro.c:2: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/gro.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9, from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_filters.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../net/core/net-sysfs.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/net-sysfs.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../include/uapi/linux/ethtool_netlink.h:12, from ../include/linux/ethtool_netlink.h:6, from ../net/core/netdev_rx_queue.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/core/netdev_rx_queue.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/core] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/tap.c:2: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/tap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:8: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ethtool.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:13, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:14: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/cisco/enic/enic_main.c:20: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:8: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/tun.c:35: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/tun.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_main.c:18: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_main.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ptp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/veth.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/veth.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/swait.h:7, from ../include/linux/completion.h:12, from ../include/linux/crypto.h:15, from ../include/crypto/hash.h:12, from ../net/sctp/socket.c:40: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: net/sctp/socket.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/sctp] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, from ../drivers/net/ethernet/aquantia/atlantic/aq_hw.h:15, from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.o] Error 1 make[3]: *** [../scripts/Makefile.build:461: net] Error 2 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/virtio_net.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:35: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_tc.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../include/linux/prefetch.h:15, from ../drivers/net/ethernet/emulex/benet/be_main.c:14: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_rxnfc.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/google/gve/gve.h:10, from ../drivers/net/ethernet/google/gve/gve_tx.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../drivers/net/ethernet/google/gve/gve_main.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_main.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../include/linux/dim.h:9, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/fec_ptp.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/bpf-cgroup.h:5, from ../kernel/bpf/verifier.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/verifier.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/google/gve/gve.h:10, from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/google/gve/gve.h:10, from ../drivers/net/ethernet/google/gve/gve_rx.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/pci.h:35, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:12: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../include/trace/events/xdp.h:8, from ../include/linux/bpf_trace.h:5, from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/rtnetlink.h:6, from ../drivers/net/ethernet/google/gve/gve_ethtool.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/platform_device.h:13, from ../drivers/net/ethernet/engleder/tsnep.h:9, from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_selftests.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/phy.h:15, from ../include/linux/fsl/enetc_mdio.h:7, from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf_common.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:7, from ../include/linux/debugfs.h:15, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/google/gve/gve.h:10, from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx_dqo.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/fec_main.c:25: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/fec_main.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../include/linux/ethtool.h:17, from ../include/uapi/linux/ethtool_netlink.h:12, from ../include/linux/ethtool_netlink.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ethtool.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../include/linux/if_vlan.h:10, from ../drivers/net/ethernet/engleder/tsnep_xdp.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_xdp.o] Error 1 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/engleder] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/ethernet/google/gve/gve_adminq.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_adminq.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_tx.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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/google/gve/gve.h:10, from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_flow_rule.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/kernfs.h:11, from ../include/linux/sysfs.h:16, from ../include/linux/kobject.h:20, from ../include/linux/of.h:18, from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:9: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_qos.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:10: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/google/gve/gve.h:10, from ../drivers/net/ethernet/google/gve/gve_utils.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_utils.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:5: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/sched.h:12, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../include/linux/dma-mapping.h:5, from ../drivers/net/ethernet/google/gve/gve.h:10, from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/current.h:11, from ../include/linux/mutex.h:14, from ../include/linux/notifier.h:14, from ../include/linux/clk.h:14, from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc4_pf.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_vf.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/kref.h:16, from ../include/linux/mm_types.h:8, from ../include/linux/uio.h:9, from ../include/linux/socket.h:8, from ../include/uapi/linux/net_tstamp.h:14, from ../include/linux/net_tstamp.h:6, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4, from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_msg.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/irqflags.h:9, from ../include/linux/irqflags.h:18, from ../arch/x86/include/asm/special_insns.h:10, from ../arch/x86/include/asm/io.h:45, from ../include/linux/io.h:12, from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:20: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ierb.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15, from ../drivers/net/ethernet/cisco/enic/enic_rq.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/phy.h:15, from ../include/linux/fsl/enetc_mdio.h:7, from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:3: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ptp.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10, from ../include/linux/filter.h:9, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/xen-netfront.c:34: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/xen-netfront.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:10, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:16, from ../include/linux/resource_ext.h:11, from ../include/linux/acpi.h:13, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:5: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:79, from ../include/linux/spinlock.h:56, from ../include/linux/phy.h:15, from ../include/linux/fsl/enetc_mdio.h:7, from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:4: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_mdio.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/enetc] Error 2 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/jiffies.h:10, from ../include/linux/ktime.h:25, from ../include/linux/timer.h:6, from ../include/linux/netdevice.h:24, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:10, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o] Error 1 In file included from ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:11: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 ../include/asm-generic/percpu.h:7, from ../arch/x86/include/asm/percpu.h:599, from ../arch/x86/include/asm/nospec-branch.h:14, from ../arch/x86/include/asm/paravirt_types.h:12, from ../arch/x86/include/asm/ptrace.h:175, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:6: ../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: ../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ ../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ | ^~~ ../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); | ^~~~~~~~~~~~ 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 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.13EU3hLxAe 2025-04-15 03:11:29.645365506 -0700 +++ /tmp/tmp.2ALKf6F8kF 2025-04-15 03:11:55.049593779 -0700 @@ -1,340 +1,4184 @@ -../net/socket.c:1671:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? -../net/bpf/test_run.c:521:17: warning: symbol 'bpf_fentry_test1' was not declared. Should it be static? -../net/bpf/test_run.c:527:14: warning: symbol 'bpf_fentry_test2' was not declared. Should it be static? -../net/bpf/test_run.c:532:14: warning: symbol 'bpf_fentry_test3' was not declared. Should it be static? -../net/bpf/test_run.c:537:14: warning: symbol 'bpf_fentry_test4' was not declared. Should it be static? -../net/bpf/test_run.c:542:14: warning: symbol 'bpf_fentry_test5' was not declared. Should it be static? -../net/bpf/test_run.c:547:14: warning: symbol 'bpf_fentry_test6' was not declared. Should it be static? -../net/bpf/test_run.c:556:14: warning: symbol 'bpf_fentry_test7' was not declared. Should it be static? -../net/bpf/test_run.c:562:14: warning: symbol 'bpf_fentry_test8' was not declared. Should it be static? -../net/bpf/test_run.c:567:17: warning: symbol 'bpf_fentry_test9' was not declared. Should it be static? -../net/bpf/test_run.c:572:15: warning: symbol 'bpf_fentry_test_sinfo' was not declared. Should it be static? -../net/bpf/test_run.c:576:17: warning: symbol 'bpf_modify_return_test' was not declared. Should it be static? -../net/bpf/test_run.c:582:17: warning: symbol 'bpf_modify_return_test2' was not declared. Should it be static? -../net/bpf/test_run.c:589:17: warning: symbol 'bpf_modify_return_test_tp' was not declared. Should it be static? -../net/bpf/test_run.c:596:14: warning: symbol 'bpf_fentry_shadow_test' was not declared. Should it be static? -../net/bpf/test_run.c:618:18: warning: symbol 'bpf_kfunc_call_test_release' was not declared. Should it be static? -../net/bpf/test_run.c:623:18: warning: symbol 'bpf_kfunc_call_test_release_dtor' was not declared. Should it be static? -../net/bpf/test_run.c:629:18: warning: symbol 'bpf_kfunc_call_memb_release' was not declared. Should it be static? -../net/bpf/test_run.c:633:18: warning: symbol 'bpf_kfunc_call_memb_release_dtor' was not declared. Should it be static? -../io_uring/poll.c:426:40: warning: incorrect type in argument 2 (different base types) -../io_uring/poll.c:426:40: expected int mask -../io_uring/poll.c:426:40: got restricted __poll_t [usertype] mask -../io_uring/poll.c:262:38: warning: incorrect type in assignment (different base types) -../io_uring/poll.c:262:38: expected signed int [usertype] res -../io_uring/poll.c:262:38: got restricted __poll_t -../io_uring/poll.c:276:21: warning: restricted __poll_t degrades to integer -../io_uring/poll.c:284:56: warning: restricted __poll_t degrades to integer -../io_uring/poll.c:283:66: warning: incorrect type in argument 1 (different base types) -../io_uring/poll.c:283:66: expected restricted __poll_t [usertype] val -../io_uring/poll.c:283:66: got unsigned int -../io_uring/poll.c:283:52: warning: incorrect type in initializer (different base types) -../io_uring/poll.c:283:52: expected restricted __poll_t [usertype] mask -../io_uring/poll.c:283:52: got unsigned short -../io_uring/poll.c:286:51: warning: incorrect type in argument 2 (different base types) -../io_uring/poll.c:286:51: expected signed int [usertype] res -../io_uring/poll.c:286:51: got restricted __poll_t [usertype] mask -../io_uring/poll.c:287:53: warning: incorrect type in argument 2 (different base types) -../io_uring/poll.c:287:53: expected signed int [usertype] res -../io_uring/poll.c:287:53: got restricted __poll_t [usertype] mask -../io_uring/poll.c:337:71: warning: restricted __poll_t degrades to integer -../io_uring/poll.c:337:65: warning: incorrect type in argument 1 (different base types) -../io_uring/poll.c:337:65: expected restricted __poll_t [usertype] val -../io_uring/poll.c:337:65: got unsigned int -../io_uring/poll.c:614:40: warning: incorrect type in argument 2 (different base types) -../io_uring/poll.c:614:40: expected int mask -../io_uring/poll.c:614:40: got restricted __poll_t [assigned] [usertype] mask -../io_uring/poll.c:677:45: warning: restricted __poll_t degrades to integer -../io_uring/poll.c:677:43: warning: incorrect type in initializer (different base types) -../io_uring/poll.c:677:43: expected restricted __poll_t [usertype] mask -../io_uring/poll.c:677:43: got unsigned int -../io_uring/poll.c:711:38: warning: incorrect type in argument 2 (different base types) -../io_uring/poll.c:711:38: expected int mask -../io_uring/poll.c:711:38: got restricted __poll_t [assigned] [usertype] mask -../io_uring/poll.c:711:55: warning: incorrect type in argument 3 (different base types) -../io_uring/poll.c:711:55: expected int events -../io_uring/poll.c:711:55: got restricted __poll_t [usertype] events -../io_uring/poll.c:831:24: warning: invalid assignment: |= -../io_uring/poll.c:831:24: left side has type unsigned int -../io_uring/poll.c:831:24: right side has type restricted __poll_t -../io_uring/poll.c:833:24: warning: invalid assignment: |= -../io_uring/poll.c:833:24: left side has type unsigned int -../io_uring/poll.c:833:24: right side has type restricted __poll_t -../io_uring/poll.c:835:55: warning: restricted __poll_t degrades to integer -../io_uring/poll.c:834:29: warning: restricted __poll_t degrades to integer -../io_uring/poll.c:834:38: warning: incorrect type in return expression (different base types) -../io_uring/poll.c:834:38: expected restricted __poll_t -../io_uring/poll.c:834:38: got unsigned int -../io_uring/poll.c:895:40: warning: incorrect type in argument 2 (different base types) -../io_uring/poll.c:895:40: expected signed int [usertype] res -../io_uring/poll.c:895:40: got restricted __poll_t [addressable] [assigned] [usertype] result_mask -../io_uring/poll.c:926:38: warning: invalid assignment: &= -../io_uring/poll.c:926:38: left side has type restricted __poll_t -../io_uring/poll.c:926:38: right side has type int -../io_uring/poll.c:927:52: warning: restricted __poll_t degrades to integer -../io_uring/poll.c:927:38: warning: invalid assignment: |= -../io_uring/poll.c:927:38: left side has type restricted __poll_t -../io_uring/poll.c:927:38: right side has type unsigned int -../net/core/datagram.c: note: in included file (through ../include/linux/skbuff.h, ../include/net/net_namespace.h, ../include/linux/inet.h): -../include/net/checksum.h:41:45: warning: incorrect type in argument 3 (different base types) -../include/net/checksum.h:41:45: expected restricted __wsum [usertype] sum -../include/net/checksum.h:41:45: got unsigned int -../io_uring/sqpoll.c: note: in included file (through ../io_uring/io_uring.h): -../include/linux/io_uring_types.h:201:37: warning: array of flexible structures -../io_uring/sqpoll.c:42:9: warning: context imbalance in 'io_sq_thread_unpark' - wrong count at exit -../io_uring/sqpoll.c:54:9: warning: context imbalance in 'io_sq_thread_park' - wrong count at exit -../io_uring/io_uring.c: note: in included file (through ../include/linux/io_uring/cmd.h): -../include/linux/io_uring_types.h:201:37: warning: array of flexible structures -../io_uring/io_uring.c:606:36: warning: context imbalance in 'io_req_post_cqe' - unexpected unlock -../io_uring/io_uring.c:608:17: warning: context imbalance in '__io_submit_flush_completions' - different lock contexts for basic block -../io_uring/io_uring.c: note: in included file (through ../include/linux/alarmtimer.h, ../include/linux/posix-timers.h, ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ...): -../include/linux/hrtimer.h:348:9: warning: dereference of noderef expression -../io_uring/io_uring.c:2415:29: warning: context imbalance in 'io_cqring_min_timer_wakeup' - different lock contexts for basic block -../net/core/sock.c:2533:9: warning: context imbalance in 'sk_clone_lock' - different lock contexts for basic block -../net/core/sock.c:4197:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit -../net/core/sock.c:4209:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit -../net/ipv4/tcp_ipv4.c:3415:41: warning: incorrect type in argument 1 (different address spaces) -../net/ipv4/tcp_ipv4.c:3415:41: expected void const *data -../net/ipv4/tcp_ipv4.c:3415:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control -../net/ipv4/tcp_ipv4.c:3537:45: warning: incorrect type in argument 1 (different address spaces) -../net/ipv4/tcp_ipv4.c:3537:45: expected void const *data -../net/ipv4/tcp_ipv4.c:3537:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control -../net/ipv4/tcp_ipv4.c:3541:50: warning: incorrect type in assignment (different address spaces) -../net/ipv4/tcp_ipv4.c:3541:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control -../net/ipv4/tcp_ipv4.c:3541:50: got struct tcp_congestion_ops * -../net/ipv4/tcp_ipv4.c:1846:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock -../net/ipv4/tcp_ipv4.c:2139:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock -../net/ipv4/tcp_ipv4.c:2401:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block -../net/ipv4/tcp_ipv4.c:2612:13: warning: context imbalance in 'listening_get_first' - wrong count at exit -../net/ipv4/tcp_ipv4.c:2660:29: warning: context imbalance in 'listening_get_next' - unexpected unlock -../net/ipv4/tcp_ipv4.c:2693:13: warning: context imbalance in 'established_get_first' - wrong count at exit -../net/ipv4/tcp_ipv4.c:2738:40: warning: context imbalance in 'established_get_next' - unexpected unlock -../net/ipv4/tcp_ipv4.c:2870:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock -../net/ipv4/tcp_ipv4.c:3091:20: warning: context imbalance in 'bpf_iter_tcp_listening_batch' - unexpected unlock -../net/ipv4/tcp_ipv4.c:3119:40: warning: context imbalance in 'bpf_iter_tcp_established_batch' - unexpected unlock -../net/ipv4/tcp_ipv4.c:3416:41: warning: dereference of noderef expression -../net/ipv4/tcp_ipv4.c:3416:41: warning: dereference of noderef expression -../net/ipv4/tcp_ipv4.c:3538:45: warning: dereference of noderef expression -../net/ipv4/tcp_ipv4.c:3538:45: warning: dereference of noderef expression -../net/ipv4/tcp_input.c:7368:17: warning: context imbalance in 'tcp_conn_request' - unexpected unlock -../io_uring/register.c: note: in included file: -../include/linux/io_uring_types.h:201:37: warning: array of flexible structures -../net/ipv6/tcp_ipv6.c:1563:25: warning: context imbalance in 'tcp_v6_syn_recv_sock' - unexpected unlock -../net/ipv6/tcp_ipv6.c:1954:21: warning: context imbalance in 'tcp_v6_rcv' - different lock contexts for basic block -../net/core/dev.c:3625:23: warning: incorrect type in argument 4 (different base types) -../net/core/dev.c:3625:23: expected restricted __wsum [usertype] csum -../net/core/dev.c:3625:23: got unsigned int -../net/core/dev.c:3625:23: warning: cast from restricted __wsum -../net/core/dev.c:5599:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? -../net/core/dev.c:4080:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block -../net/core/dev.c:5557:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block -../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions -../kernel/bpf/core.c:2961:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? -../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): -../include/trace/events/xdp.h:321:1: warning: Using plain integer as NULL pointer -../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer -../include/trace/events/xdp.h:382:1: warning: Using plain integer as NULL pointer -../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): -../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): -../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * -../include/linux/rbtree.h:74:9: struct rb_node * -../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): -../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * -../include/linux/rbtree.h:74:9: struct rb_node * -../fs/eventpoll.c:647:9: warning: restricted __poll_t degrades to integer -../fs/eventpoll.c:647:9: warning: cast to restricted __poll_t -../fs/eventpoll.c:1418:53: warning: incorrect type in argument 3 (different base types) -../fs/eventpoll.c:1418:53: expected unsigned int pollflags -../fs/eventpoll.c:1418:53: got restricted __poll_t -../kernel/bpf/verifier.c:348:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? -../kernel/bpf/verifier.c:22375:38: error: subtraction of functions? Share your drugs -../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar -../net/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) -../net/core/filter.c:1423:39: expected struct sock_filter const *filter -../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter -../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) -../net/core/filter.c:1501:39: expected struct sock_filter const *filter -../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter -../net/core/filter.c:2323:45: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:2323:45: expected restricted __be32 [usertype] daddr -../net/core/filter.c:2323:45: got unsigned int [usertype] ipv4_nh -../net/core/filter.c:3923:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? -../net/core/filter.c:4655:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? -../net/core/filter.c:5069:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? -../net/core/filter.c:8006:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? -../net/core/filter.c:11979:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? -../net/core/filter.c:11995:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? -../net/core/filter.c:12011:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? -../net/core/filter.c:12032:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? -../net/core/filter.c:12129:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? -../net/core/filter.c:12251:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? -../net/core/filter.c:1931:43: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:1931:43: expected restricted __wsum [usertype] diff -../net/core/filter.c:1931:43: got unsigned long long [usertype] to -../net/core/filter.c:1934:36: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:1934:36: expected restricted __be16 [usertype] old -../net/core/filter.c:1934:36: got unsigned long long [usertype] from -../net/core/filter.c:1934:42: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1934:42: expected restricted __be16 [usertype] new -../net/core/filter.c:1934:42: got unsigned long long [usertype] to -../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:1937:36: expected restricted __be32 [usertype] from -../net/core/filter.c:1937:36: got unsigned long long [usertype] from -../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1937:42: expected restricted __be32 [usertype] to -../net/core/filter.c:1937:42: got unsigned long long [usertype] to -../net/core/filter.c:1982:59: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1982:59: expected restricted __wsum [usertype] diff -../net/core/filter.c:1982:59: got unsigned long long [usertype] to -../net/core/filter.c:1985:52: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1985:52: expected restricted __be16 [usertype] from -../net/core/filter.c:1985:52: got unsigned long long [usertype] from -../net/core/filter.c:1985:58: warning: incorrect type in argument 4 (different base types) -../net/core/filter.c:1985:58: expected restricted __be16 [usertype] to -../net/core/filter.c:1985:58: got unsigned long long [usertype] to -../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1988:52: expected restricted __be32 [usertype] from -../net/core/filter.c:1988:52: got unsigned long long [usertype] from -../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types) -../net/core/filter.c:1988:58: expected restricted __be32 [usertype] to -../net/core/filter.c:1988:58: got unsigned long long [usertype] to -../net/core/filter.c:2055:35: warning: incorrect type in return expression (different base types) -../net/core/filter.c:2055:35: expected unsigned long long -../net/core/filter.c:2055:35: got restricted __wsum [usertype] csum -../net/core/filter.c:5926:17: warning: incorrect type in assignment (different base types) -../net/core/filter.c:5926:17: expected unsigned int [usertype] spi -../net/core/filter.c:5926:17: got restricted __be32 const [usertype] spi -../net/core/filter.c:5934:33: warning: incorrect type in assignment (different base types) -../net/core/filter.c:5934:33: expected unsigned int [usertype] remote_ipv4 -../net/core/filter.c:5934:33: got restricted __be32 const [usertype] a4 -../io_uring/napi.c:84:12: warning: context imbalance in '__io_napi_del_id' - wrong count at exit -../io_uring/napi.c:116:9: warning: context imbalance in '__io_napi_remove_stale' - wrong count at exit -../io_uring/napi.c: note: in included file (through ../io_uring/io_uring.h): -../include/linux/io_uring_types.h:201:37: warning: array of flexible structures -../io_uring/napi.c:263:27: warning: context imbalance in 'io_napi_free' - wrong count at exit -../net/sctp/socket.c:8506:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock -../net/ipv4/udp.c:1665:28: warning: context imbalance in 'udp_rmem_release' - unexpected unlock -../net/ipv4/udp.c:1697:19: warning: context imbalance in 'busylock_acquire' - wrong count at exit -../net/ipv4/udp.c:1709:28: warning: context imbalance in 'busylock_release' - unexpected unlock -../net/ipv4/udp.c:3301:9: warning: context imbalance in 'udp_get_first' - wrong count at exit -../net/ipv4/udp.c:3318:39: warning: context imbalance in 'udp_get_next' - unexpected unlock -../net/ipv4/udp.c:3366:31: warning: context imbalance in 'udp_seq_stop' - unexpected unlock -../net/core/xdp.c:899:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? -../net/core/xdp.c:921:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? -../net/core/xdp.c:954:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? -../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: -../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] - 1572 | "%s-rx-%u", netdev->name, i); - | ^~ -../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] - 1572 | "%s-rx-%u", netdev->name, i); - | ^~~~~~~~~~ -../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 - 1570 | snprintf(enic->msix[intr].devname, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1571 | sizeof(enic->msix[intr].devname), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1572 | "%s-rx-%u", netdev->name, i); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] - 1583 | "%s-tx-%u", netdev->name, i); - | ^~ -../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] - 1583 | "%s-tx-%u", netdev->name, i); - | ^~~~~~~~~~ -../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 - 1581 | snprintf(enic->msix[intr].devname, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1582 | sizeof(enic->msix[intr].devname), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1583 | "%s-tx-%u", netdev->name, i); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:61:27: warning: symbol 'hw_atl2_caps_aqc113' was not declared. Should it be static? -../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:72:27: warning: symbol 'hw_atl2_caps_aqc115c' was not declared. Should it be static? -../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:81:27: warning: symbol 'hw_atl2_caps_aqc116c' was not declared. Should it be static? -../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:825:24: warning: symbol 'hw_atl2_ops' was not declared. Should it be static? -../drivers/net/ethernet/cisco/enic/enic_main.c:270:14: warning: cast to restricted __be16 -../drivers/net/ethernet/cisco/enic/enic_main.c:274:14: warning: cast to restricted __be16 -../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cisco/enic/enic_main.c:629:14: warning: cast to restricted __be16 -../drivers/net/ethernet/cisco/enic/enic_main.c:636:14: warning: cast to restricted __be16 -../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: -../drivers/net/ethernet/freescale/enetc/enetc.c:2662:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] - 2662 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", - | ^~ -../drivers/net/ethernet/freescale/enetc/enetc.c:2662:52: note: directive argument in the range [-2147483639, 2147483646] - 2662 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", - | ^~~~~~~~~~~ -../drivers/net/ethernet/freescale/enetc/enetc.c:2662:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 - 2662 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 2663 | priv->ndev->name, i); - | ~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): -../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: cast to restricted __le64 -../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: restricted __le64 degrades to integer -../drivers/net/ethernet/freescale/enetc/enetc_hw.h:510:16: warning: cast to restricted __le64 -../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar -../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast to restricted __be16 -../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast from restricted __be32 -../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast to restricted __be16 -../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast from restricted __be32 -../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: expected unsigned short -../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: got restricted __le16 [usertype] -../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: expected unsigned int [usertype] fragpa_lo -../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: got restricted __le32 [usertype] -../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: expected unsigned int [usertype] fragpa_hi -../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: got restricted __le32 [usertype] -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: expected restricted __sum16 [usertype] check -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1680:45: got restricted __be16 [usertype] -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2936:22: warning: incorrect type in argument 2 (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2936:22: expected unsigned int [usertype] val -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2936:22: got restricted __be32 [usertype] ip -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2981:40: warning: cast from restricted __be32 -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3041:38: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3041:38: expected restricted __be32 [usertype] ip4dst -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3041:38: got unsigned int [usertype] -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3045:38: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3045:38: expected restricted __be32 [usertype] ip4src -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3045:38: got unsigned int -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3047:36: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3047:36: expected restricted __be16 [usertype] psrc -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3047:36: got int -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3049:36: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3049:36: expected restricted __be16 [usertype] pdst -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3049:36: got int -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:599:48: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: warning: incorrect type in argument 1 (different address spaces) -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: expected void volatile [noderef] __iomem *addr -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: got void *hwbase -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: warning: incorrect type in assignment (different address spaces) -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: expected unsigned long long [usertype] *ptr -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: got void [noderef] __iomem * -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: warning: incorrect type in assignment (different address spaces) -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: expected unsigned long long [usertype] *ptr -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: got void [noderef] __iomem * -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:33:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:36:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:46:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:49:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:865:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 -../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:126:19: warning: cast to restricted __be32 -../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:130:41: warning: restricted __be32 degrades to integer +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/wait.h:9, + from ../include/linux/wait_bit.h:8, + from ../include/linux/fs.h:7, + from ../io_uring/poll.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:203: io_uring/poll.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/bpf-cgroup.h:5, + from ../net/socket.c:55: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:203: net/socket.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../fs/select.c:18: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../net/ethtool/ioctl.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/ethtool/ioctl.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/mmzone.h:8, + from ../include/linux/gfp.h:7, + from ../include/linux/mm.h:7, + from ../io_uring/sqpoll.c:9: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:203: io_uring/sqpoll.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../net/bpf/test_run.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/bpf/test_run.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/bpf] Error 2 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/net/xdp_sock.h:9, + from ../include/net/xdp_sock_drv.h:9, + from ../net/ethtool/channels.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../net/core/datagram.c:37: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/datagram.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/sched/mm.h:7, + from ../net/xdp/xdp_umem.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/xdp/xdp_umem.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/mmzone.h:8, + from ../include/linux/gfp.h:7, + from ../include/linux/slab.h:16, + from ../net/xdp/xsk_queue.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_queue.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../net/xdp/xsk_diag.c:9: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk_diag.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/wait.h:9, + from ../include/linux/wait_bit.h:8, + from ../include/linux/fs.h:7, + from ../include/uapi/linux/aio_abi.h:31, + from ../include/linux/syscalls.h:83, + from ../io_uring/io_uring.c:45: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:203: io_uring/io_uring.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/sched/mm.h:7, + from ../net/xdp/xsk.c:16: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/xdp/xsk.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/ip.h:16, + from ../include/net/ip.h:22, + from ../include/linux/errqueue.h:6, + from ../net/core/sock.c:91: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/sock.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/wait.h:9, + from ../include/linux/wait_bit.h:8, + from ../include/linux/fs.h:7, + from ../include/uapi/linux/aio_abi.h:31, + from ../include/linux/syscalls.h:83, + from ../io_uring/register.c:9: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:203: io_uring/register.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../net/xdp/xsk_buff_pool.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/filter.h:9, + from ../net/core/sysctl_net_core.c:9: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/sysctl_net_core.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/tcp.h:17, + from ../include/net/tcp.h:20, + from ../net/ipv4/tcp_minisocks.c:22: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_minisocks.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/nvme/host/tcp.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/bpf-cgroup.h:5, + from ../net/ipv6/udp.c:20: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/ipv6/udp.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/bottom_half.h:6, + from ../net/ipv4/tcp_ipv4.c:50: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_ipv4.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/swait.h:7, + from ../include/linux/completion.h:12, + from ../include/linux/crypto.h:15, + from ../include/crypto/hash.h:12, + from ../net/ipv4/tcp.c:246: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/smp.h:116, + from ../include/linux/lockdep.h:14, + from ../io_uring/io_uring.h:5, + from ../io_uring/napi.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:203: io_uring/napi.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../include/linux/dma-map-ops.h:9, + from ../io_uring/zcrx.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[4]: *** [../scripts/Makefile.build:203: io_uring/zcrx.o] Error 1 +make[3]: *** [../scripts/Makefile.build:461: io_uring] Error 2 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/mmzone.h:8, + from ../include/linux/gfp.h:7, + from ../include/linux/mm.h:7, + from ../net/ipv4/tcp_input.c:67: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/ipv4/tcp_input.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/if_ether.h:19, + from ../include/linux/etherdevice.h:20, + from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.h:15, + from ../drivers/net/ethernet/aquantia/atlantic/aq_vec.c:12: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_vec.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/filter.h:9, + from ../kernel/bpf/core.c:21: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/core.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/amazon/ena/ena_ethtool.c:6: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_ethtool.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/alloc_tag.h:11, + from ../include/linux/percpu.h:5, + from ../include/linux/context_tracking_state.h:5, + from ../include/linux/hardirq.h:5, + from ../include/linux/interrupt.h:11, + from ../drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/if_ether.h:19, + from ../include/linux/etherdevice.h:20, + from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/aq_main.h:12, + from ../drivers/net/ethernet/aquantia/atlantic/aq_main.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_main.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:8: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/aq_ring.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ring.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/bottom_half.h:6, + from ../net/ipv6/tcp_ipv6.c:22: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/iopoll.h:11, + from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.h:15, + from ../drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c:12: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_nic.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../net/core/xdp.c:6: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/xdp.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../include/linux/dim.h:9, + from ../drivers/net/ethernet/amazon/ena/ena_netdev.h:10, + from ../drivers/net/ethernet/amazon/ena/ena_xdp.h:9, + from ../drivers/net/ethernet/amazon/ena/ena_xdp.c:6: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/wait.h:9, + from ../include/linux/wait_bit.h:8, + from ../include/linux/fs.h:7, + from ../include/linux/namei.h:5, + from ../kernel/bpf/inode.c:15: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/inode.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/if_ether.h:19, + from ../include/linux/etherdevice.h:20, + from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h:12, + from ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_ethtool.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../kernel/bpf/syscall.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/syscall.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/kernfs.h:11, + from ../include/linux/sysfs.h:16, + from ../include/linux/kobject.h:20, + from ../drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c:11: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../net/core/netdev-genl.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/netdev-genl.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/mmzone.h:8, + from ../include/linux/gfp.h:7, + from ../include/linux/slab.h:16, + from ../net/sctp/ulpqueue.c:22: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/sctp/ulpqueue.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/bpf-cgroup.h:5, + from ../net/ipv4/udp.c:77: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/uaccess.h:9, + from ../net/core/dev.c:71: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/dev.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/bpf_verifier.h:7, + from ../net/core/filter.c:21: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/filter.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/ip.h:16, + from ../include/net/gro.h:7, + from ../net/core/gro.c:2: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/gro.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/aquantia/atlantic/aq_nic.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.h:9, + from ../drivers/net/ethernet/aquantia/atlantic/aq_filters.c:6: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/aq_filters.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../net/core/net-sysfs.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/net-sysfs.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../include/uapi/linux/ethtool_netlink.h:12, + from ../include/linux/ethtool_netlink.h:6, + from ../net/core/netdev_rx_queue.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/core/netdev_rx_queue.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/core] Error 2 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/if_ether.h:19, + from ../include/linux/etherdevice.h:20, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_common.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:11: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/cavium/thunder/nicvf_main.c:6: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_main.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:11: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/if_ether.h:19, + from ../include/linux/etherdevice.h:20, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_common.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/if_ether.h:19, + from ../include/linux/etherdevice.h:20, + from ../drivers/net/tap.c:2: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: drivers/net/tap.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:8: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/cavium/thunder/nicvf_ethtool.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/platform_device.h:13, + from ../drivers/net/ethernet/engleder/tsnep.h:9, + from ../drivers/net/ethernet/engleder/tsnep_ethtool.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ethtool.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_nic.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c:12: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/kernfs.h:11, + from ../include/linux/sysfs.h:16, + from ../include/linux/kobject.h:20, + from ../include/linux/pci.h:35, + from ../drivers/net/ethernet/cavium/thunder/nicvf_queues.c:6: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:14: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/cisco/enic/enic_main.c:20: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:8: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/tun.c:35: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: drivers/net/tun.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/platform_device.h:13, + from ../drivers/net/ethernet/engleder/tsnep.h:9, + from ../drivers/net/ethernet/engleder/tsnep_main.c:18: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_main.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/platform_device.h:13, + from ../drivers/net/ethernet/engleder/tsnep.h:9, + from ../drivers/net/ethernet/engleder/tsnep_ptp.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_ptp.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/if_ether.h:19, + from ../include/linux/etherdevice.h:20, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_common.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/../aq_hw.h:15, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:12: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:11: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../drivers/net/veth.c:12: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: drivers/net/veth.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/swait.h:7, + from ../include/linux/completion.h:12, + from ../include/linux/crypto.h:15, + from ../include/crypto/hash.h:12, + from ../net/sctp/socket.c:40: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: net/sctp/socket.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/sctp] Error 2 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/if_ether.h:19, + from ../include/linux/etherdevice.h:20, + from ../drivers/net/ethernet/aquantia/atlantic/aq_common.h:13, + from ../drivers/net/ethernet/aquantia/atlantic/aq_hw.h:15, + from ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:6: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.o] Error 1 +make[3]: *** [../scripts/Makefile.build:461: net] Error 2 +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../drivers/net/virtio_net.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, + from ../drivers/net/ethernet/freescale/enetc/enetc_cbdr.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../drivers/net/ethernet/chelsio/cxgb4/sge.c:35: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/kernfs.h:11, + from ../include/linux/sysfs.h:16, + from ../include/linux/kobject.h:20, + from ../include/linux/pci.h:35, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:11: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/platform_device.h:13, + from ../drivers/net/ethernet/engleder/tsnep.h:9, + from ../drivers/net/ethernet/engleder/tsnep_tc.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_tc.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../include/linux/prefetch.h:15, + from ../drivers/net/ethernet/emulex/benet/be_main.c:14: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/platform_device.h:13, + from ../drivers/net/ethernet/engleder/tsnep.h:9, + from ../drivers/net/ethernet/engleder/tsnep_rxnfc.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_rxnfc.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../drivers/net/ethernet/google/gve/gve.h:10, + from ../drivers/net/ethernet/google/gve/gve_tx.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../drivers/net/ethernet/google/gve/gve_main.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_main.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/kernfs.h:11, + from ../include/linux/sysfs.h:16, + from ../include/linux/kobject.h:20, + from ../include/linux/pci.h:35, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:11: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/kernfs.h:11, + from ../include/linux/sysfs.h:16, + from ../include/linux/kobject.h:20, + from ../include/linux/pci.h:35, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:9: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../include/linux/dim.h:9, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, + from ../drivers/net/ethernet/freescale/enetc/enetc.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/freescale/fec_ptp.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/kernfs.h:11, + from ../include/linux/sysfs.h:16, + from ../include/linux/kobject.h:20, + from ../include/linux/pci.h:35, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/bpf-cgroup.h:5, + from ../kernel/bpf/verifier.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: kernel/bpf/verifier.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: kernel/bpf] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../drivers/net/ethernet/google/gve/gve.h:10, + from ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../drivers/net/ethernet/fungible/funeth/funeth_main.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_main.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../drivers/net/ethernet/google/gve/gve.h:10, + from ../drivers/net/ethernet/google/gve/gve_rx.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/kernfs.h:11, + from ../include/linux/sysfs.h:16, + from ../include/linux/kobject.h:20, + from ../include/linux/pci.h:35, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c:12: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../include/trace/events/xdp.h:8, + from ../include/linux/bpf_trace.h:5, + from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/rtnetlink.h:6, + from ../drivers/net/ethernet/google/gve/gve_ethtool.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_ethtool.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/platform_device.h:13, + from ../drivers/net/ethernet/engleder/tsnep.h:9, + from ../drivers/net/ethernet/engleder/tsnep_selftests.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_selftests.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/phy.h:15, + from ../include/linux/fsl/enetc_mdio.h:7, + from ../drivers/net/ethernet/freescale/enetc/enetc_pf_common.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf_common.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/wait.h:9, + from ../include/linux/wait_bit.h:8, + from ../include/linux/fs.h:7, + from ../include/linux/debugfs.h:15, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../drivers/net/ethernet/google/gve/gve.h:10, + from ../drivers/net/ethernet/google/gve/gve_rx_dqo.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_rx_dqo.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/freescale/fec_main.c:25: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/fec_main.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../drivers/net/ethernet/fungible/funeth/funeth_ethtool.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_ethtool.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../include/linux/ethtool.h:17, + from ../include/uapi/linux/ethtool_netlink.h:12, + from ../include/linux/ethtool_netlink.h:6, + from ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ethtool.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../include/linux/if_vlan.h:10, + from ../drivers/net/ethernet/engleder/tsnep_xdp.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/engleder/tsnep_xdp.o] Error 1 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/engleder] Error 2 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../include/linux/if_ether.h:19, + from ../include/linux/etherdevice.h:20, + from ../drivers/net/ethernet/google/gve/gve_adminq.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_adminq.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../drivers/net/ethernet/fungible/funeth/funeth_tx.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/fungible/funeth/funeth_tx.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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:11: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../drivers/net/ethernet/google/gve/gve.h:10, + from ../drivers/net/ethernet/google/gve/gve_flow_rule.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_flow_rule.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/kernfs.h:11, + from ../include/linux/sysfs.h:16, + from ../include/linux/kobject.h:20, + from ../include/linux/of.h:18, + from ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:9: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, + from ../drivers/net/ethernet/freescale/enetc/enetc_qos.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_qos.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c:10: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../drivers/net/ethernet/google/gve/gve.h:10, + from ../drivers/net/ethernet/google/gve/gve_utils.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/google/gve/gve_utils.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/freescale/enetc/enetc_pf.c:5: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pf.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/sched.h:12, + from ../include/linux/ratelimit.h:6, + from ../include/linux/dev_printk.h:16, + from ../include/linux/device.h:15, + from ../include/linux/dma-mapping.h:5, + from ../drivers/net/ethernet/google/gve/gve.h:10, + from ../drivers/net/ethernet/google/gve/gve_buffer_mgmt_dqo.c:7: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/current.h:11, + from ../include/linux/mutex.h:14, + from ../include/linux/notifier.h:14, + from ../include/linux/clk.h:14, + from ../drivers/net/ethernet/freescale/enetc/enetc4_pf.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc4_pf.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/freescale/enetc/enetc_vf.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_vf.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/kref.h:16, + from ../include/linux/mm_types.h:8, + from ../include/linux/uio.h:9, + from ../include/linux/socket.h:8, + from ../include/uapi/linux/net_tstamp.h:14, + from ../include/linux/net_tstamp.h:6, + from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c:6: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../drivers/net/ethernet/freescale/enetc/enetc.h:4, + from ../drivers/net/ethernet/freescale/enetc/enetc_pf.h:4, + from ../drivers/net/ethernet/freescale/enetc/enetc_msg.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_msg.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/irqflags.h:9, + from ../include/linux/irqflags.h:18, + from ../arch/x86/include/asm/special_insns.h:10, + from ../arch/x86/include/asm/io.h:45, + from ../include/linux/io.h:12, + from ../drivers/net/ethernet/freescale/enetc/enetc_ierb.c:20: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ierb.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/skbuff.h:15, + from ../drivers/net/ethernet/cisco/enic/enic_rq.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/phy.h:15, + from ../include/linux/fsl/enetc_mdio.h:7, + from ../drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c:3: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/freescale/enetc/enetc_ptp.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_ptp.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10, + from ../include/linux/filter.h:9, + from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/xen-netfront.c:34: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:203: drivers/net/xen-netfront.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:10, + from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-dcb.o] Error 1 @@ -342,210 +4186,209 @@ -../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: warning: incorrect type in assignment (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: expected restricted __wsum [usertype] csum -../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: got restricted __be16 [usertype] -../drivers/net/vmxnet3/vmxnet3_drv.c:1623:17: warning: restricted __le64 degrades to integer -../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: warning: incorrect type in argument 2 (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: expected unsigned long long [usertype] addr -../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: got restricted __le64 [usertype] addr -../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: warning: incorrect type in argument 2 (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: expected unsigned long long [usertype] addr -../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: got restricted __le64 [usertype] addr -../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: warning: incorrect type in initializer (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: expected unsigned int [usertype] *vfTable -../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: got restricted __le32 * -../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: warning: incorrect type in initializer (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: expected unsigned int [usertype] *vfTable -../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: got restricted __le32 * -../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: warning: incorrect type in initializer (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: expected unsigned int [usertype] *vfTable -../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: got restricted __le32 * -../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: warning: incorrect type in initializer (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: expected unsigned int [usertype] *vfTable -../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: got restricted __le32 * -../drivers/net/vmxnet3/vmxnet3_drv.c:2826:31: warning: restricted __le32 degrades to integer -../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: warning: incorrect type in argument 3 (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: expected unsigned long [usertype] size -../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: got restricted __le16 [usertype] mfTableLen -../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: warning: incorrect type in assignment (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: expected unsigned int [usertype] -../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: got restricted __le32 [usertype] -../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: warning: incorrect type in assignment (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: expected restricted __le16 [usertype] txDataRingDescSize -../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: got restricted __le32 [usertype] -../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: warning: incorrect type in assignment (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: expected restricted __le32 [usertype] confVer -../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: got int -../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: warning: incorrect type in assignment (different base types) -../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: expected restricted __le32 [usertype] confVer -../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: got int -../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: warning: incorrect type in assignment (different base types) -../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: expected restricted __le32 [usertype] confVer -../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: got int -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4478:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block -../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: -../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] - 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", - | ^~ -../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:54: note: directive argument in the range [-2147483641, 65534] - 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", - | ^~~~~~~~~~ -../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 - 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1904 | edev->ndev->name, queue_id); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: -../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] - 621 | "[storm %s]", storm); - | ^~ ~~~~~ -../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 - 620 | snprintf(info->version, sizeof(info->version), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 621 | "[storm %s]", storm); - | ~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] - 638 | "mfw %s", mfw); - | ^~ ~~~ -../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 - 637 | snprintf(info->fw_version, sizeof(info->fw_version), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 638 | "mfw %s", mfw); - | ~~~~~~~~~~~~~~ -../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] - 635 | "mbi %s [mfw %s]", mbi, mfw); - | ^~ ~~~ -../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 - 634 | snprintf(info->fw_version, sizeof(info->fw_version), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 635 | "mbi %s [mfw %s]", mbi, mfw); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../scripts/Makefile.build:203: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new -../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/tx.c:495:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block -../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: -../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] - 277 | "%-6s %-24s", unit_str, test_str); - | ^~~~~ ~~~~~~~~ -../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 - 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 276 | ETH_GSTRING_LEN, - | ~~~~~~~~~~~~~~~~ - 277 | "%-6s %-24s", unit_str, test_str); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' -../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data -../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val -../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask -../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask -../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: -../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] - 458 | snprintf(name, sizeof(name), "%s%u_input", - | ^ -../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 - 458 | snprintf(name, sizeof(name), "%s%u_input", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 459 | hwmon_prefix, hwmon_index); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] - 489 | snprintf(name, sizeof(name), "%s%u_alarm", - | ^ -../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 - 489 | snprintf(name, sizeof(name), "%s%u_alarm", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 490 | hwmon_prefix, hwmon_index); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] - 496 | snprintf(name, sizeof(name), "%s%u_label", - | ^ -../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 - 496 | snprintf(name, sizeof(name), "%s%u_label", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 497 | hwmon_prefix, hwmon_index); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] - 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, - | ^~ -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 - 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 2041 | stmmac_selftests[i].name); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst -../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask -../drivers/net/ethernet/intel/ice/ice_ptp.c:301:5: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit -../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:901:9: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit -../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: -../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] - 229 | "%-6s %-24s", unit_str, test_str); - | ^~~~~ ~~~~~~~~ -../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 - 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 228 | ETH_GSTRING_LEN, - | ~~~~~~~~~~~~~~~~ - 229 | "%-6s %-24s", unit_str, test_str); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block -../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: -../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] - 229 | "%-6s %-24s", unit_str, test_str); - | ^~~~~ ~~~~~~~~ -../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 - 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 228 | ETH_GSTRING_LEN, - | ~~~~~~~~~~~~~~~~ - 229 | "%-6s %-24s", unit_str, test_str); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: -../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] - 458 | snprintf(name, sizeof(name), "%s%u_input", - | ^ -../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 - 458 | snprintf(name, sizeof(name), "%s%u_input", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 459 | hwmon_prefix, hwmon_index); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] - 489 | snprintf(name, sizeof(name), "%s%u_alarm", - | ^ -../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 - 489 | snprintf(name, sizeof(name), "%s%u_alarm", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 490 | hwmon_prefix, hwmon_index); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] - 496 | snprintf(name, sizeof(name), "%s%u_label", - | ^ -../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 - 496 | snprintf(name, sizeof(name), "%s%u_label", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 497 | hwmon_prefix, hwmon_index); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) -../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc -../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping -../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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/mmzone.h:8, + from ../include/linux/gfp.h:7, + from ../include/linux/slab.h:16, + from ../include/linux/resource_ext.h:11, + from ../include/linux/acpi.h:13, + from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c:5: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/preempt.h:6, + from ../include/linux/preempt.h:79, + from ../include/linux/spinlock.h:56, + from ../include/linux/phy.h:15, + from ../include/linux/fsl/enetc_mdio.h:7, + from ../drivers/net/ethernet/freescale/enetc/enetc_mdio.c:4: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/enetc/enetc_mdio.o] Error 1 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/freescale/enetc] Error 2 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/jiffies.h:10, + from ../include/linux/ktime.h:25, + from ../include/linux/timer.h:6, + from ../include/linux/netdevice.h:24, + from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h:10, + from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c:2: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o] Error 1 +In file included from ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:11: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 ../include/asm-generic/percpu.h:7, + from ../arch/x86/include/asm/percpu.h:599, + from ../arch/x86/include/asm/nospec-branch.h:14, + from ../arch/x86/include/asm/paravirt_types.h:12, + from ../arch/x86/include/asm/ptrace.h:175, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:6: +../include/net/xdp.h: In function ‘bpf_prog_run_xdp’: +../include/net/xdp.h:654:54: error: ‘bpf_redirect_info’ undeclared (first use in this function) + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +../include/net/xdp.h:654:54: note: each undeclared identifier is reported only once for each function it appears in + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~~~~~~ +../include/linux/percpu-defs.h:220:54: note: in definition of macro ‘__verify_pcpu_ptr’ + 220 | const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ + | ^~~ +../include/net/xdp.h:654:40: note: in expansion of macro ‘this_cpu_ptr’ + 654 | struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); + | ^~~~~~~~~~~~ +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 +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.3w0Ohqtzox 2025-04-15 03:11:55.068593585 -0700 +++ /tmp/tmp.NiGYlBR3pa 2025-04-15 03:11:55.072593544 -0700 @@ -1,53 +1 @@ - 4 ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c - 10 ../drivers/net/ethernet/cisco/enic/enic_main.c - 7 ../drivers/net/ethernet/emulex/benet/be_main.c - 1 ../drivers/net/ethernet/freescale/enetc/enetc.c - 3 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h - 1 ../drivers/net/ethernet/intel/ice/ice_ptp.c - 1 ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c - 6 ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c - 5 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c - 4 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c - 7 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c - 1 ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c - 2 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c - 1 ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c - 3 ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c - 1 ../drivers/net/ethernet/qlogic/qede/qede_main.c - 1 ../drivers/net/ethernet/sfc/ethtool_common.c - 1 ../drivers/net/ethernet/sfc/falcon/ethtool.c - 3 ../drivers/net/ethernet/sfc/mcdi_mon.c - 1 ../drivers/net/ethernet/sfc/ptp.c - 1 ../drivers/net/ethernet/sfc/siena/ethtool_common.c - 3 ../drivers/net/ethernet/sfc/siena/mcdi_mon.c - 1 ../drivers/net/ethernet/sfc/siena/ptp.c - 1 ../drivers/net/ethernet/sfc/siena/tx.c - 1 ../drivers/net/ethernet/sfc/tx.c - 6 ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c - 2 ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c - 14 ../drivers/net/vmxnet3/vmxnet3_drv.c - 1 ../drivers/net/vmxnet3/vmxnet3_ethtool.c - 3 ../fs/eventpoll.c - 10 ../include/linux/bpfptr.h - 1 ../include/linux/hrtimer.h - 4 ../include/linux/io_uring_types.h - 2 ../include/linux/rbtree.h - 1 ../include/net/checksum.h - 3 ../include/trace/events/xdp.h - 3 ../io_uring/io_uring.c - 3 ../io_uring/napi.c - 24 ../io_uring/poll.c - 2 ../io_uring/sqpoll.c - 2 ../kernel/bpf/core.c - 2 ../kernel/bpf/verifier.c - 18 ../net/bpf/test_run.c - 5 ../net/core/dev.c - 26 ../net/core/filter.c - 3 ../net/core/sock.c - 3 ../net/core/xdp.c - 1 ../net/ipv4/tcp_input.c - 17 ../net/ipv4/tcp_ipv4.c - 6 ../net/ipv4/udp.c - 2 ../net/ipv6/tcp_ipv6.c - 1 ../net/sctp/socket.c - 1 ../net/socket.c + 131 ../include/net/xdp.h