Kconfig (df6f8237036938d48b7705681c170566c00593fa) Kconfig (6bdacdb48e94ff26c03c6eeeef48c03c5e2f7dd4)
1# SPDX-License-Identifier: GPL-2.0-only
2
3# BPF interpreter that, for example, classic socket filters depend on.
4config BPF
5 bool
6
7# Used by archs to tell that they support BPF JIT compiler plus which
8# flavour. Only one of the two can be selected for a specific arch since

--- 23 unchanged lines hidden (view full) ---

32 select NET_SOCK_MSG if INET
33 default n
34 help
35 Enable the bpf() system call that allows to manipulate BPF programs
36 and maps via file descriptors.
37
38config BPF_JIT
39 bool "Enable BPF Just In Time compiler"
1# SPDX-License-Identifier: GPL-2.0-only
2
3# BPF interpreter that, for example, classic socket filters depend on.
4config BPF
5 bool
6
7# Used by archs to tell that they support BPF JIT compiler plus which
8# flavour. Only one of the two can be selected for a specific arch since

--- 23 unchanged lines hidden (view full) ---

32 select NET_SOCK_MSG if INET
33 default n
34 help
35 Enable the bpf() system call that allows to manipulate BPF programs
36 and maps via file descriptors.
37
38config BPF_JIT
39 bool "Enable BPF Just In Time compiler"
40 depends on BPF
40 depends on HAVE_CBPF_JIT || HAVE_EBPF_JIT
41 depends on MODULES
42 help
43 BPF programs are normally handled by a BPF interpreter. This option
44 allows the kernel to generate native code when a program is loaded
45 into the kernel. This will significantly speed-up processing of BPF
46 programs.
47

--- 41 unchanged lines hidden ---
41 depends on HAVE_CBPF_JIT || HAVE_EBPF_JIT
42 depends on MODULES
43 help
44 BPF programs are normally handled by a BPF interpreter. This option
45 allows the kernel to generate native code when a program is loaded
46 into the kernel. This will significantly speed-up processing of BPF
47 programs.
48

--- 41 unchanged lines hidden ---