LoongArch: BPF: Support mixing bpf2bpf and tailcalls
Subsystems (3)
Hengqi Chen
reviewerPATCH 1/1 LoongArch: BPF: Support mixing bpf2bpf and tailcalls
The current implementation already allow such mixing. Let's enable it in JIT.
Signed-off-by Hengqi Chen <[email protected]>
--- arch/loongarch/net/bpf_jit.c | 6 ++++++ 1 file changed, 6 insertions(+)
arch/loongarch/net/bpf_jit.c +6 -0
@@ -1248,3 +1248,9 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)return prog; } + +/* Indicate the JIT backend supports mixing bpf2bpf and tailcalls. */ +bool bpf_jit_supports_subprog_tailcalls (void ) +{ +return true; +}
--
2.31.1