1 |
On Fri, Jan 5, 2018 at 7:26 PM, Adam Carter <adamcarter3@×××××.com> wrote: |
2 |
>> > So, HAVE_EBPF_JIT=y just means that BPF JIT _can_ be done on x86. There |
3 |
>> > is a separate BPF_JIT setting to actually enable it. |
4 |
>> |
5 |
>> Well, that doesn't seem to be present here. Just the HAVE_ symbol. |
6 |
> |
7 |
> |
8 |
> Careful, there's BPF and EBPF. |
9 |
> |
10 |
> $ zgrep BPF /proc/config.gz |
11 |
> CONFIG_CGROUP_BPF=y |
12 |
> CONFIG_BPF=y |
13 |
> CONFIG_BPF_SYSCALL=y |
14 |
> # CONFIG_NETFILTER_XT_MATCH_BPF is not set |
15 |
> # CONFIG_NET_CLS_BPF is not set |
16 |
> # CONFIG_NET_ACT_BPF is not set |
17 |
> # CONFIG_BPF_JIT is not set |
18 |
> # CONFIG_BPF_STREAM_PARSER is not set |
19 |
> CONFIG_HAVE_EBPF_JIT=y |
20 |
> # CONFIG_TEST_BPF is not set |
21 |
> |
22 |
|
23 |
In this context they're the same thing. The only use of "EBPF" is |
24 |
that internal dependency, which might be why nobody bothered to try to |
25 |
change it. |
26 |
|
27 |
-- |
28 |
Rich |