On Fri, Jan 5, 2018 at 7:26 PM, Adam Carter <adamcart...@gmail.com> wrote:
>> > So, HAVE_EBPF_JIT=y just means that BPF JIT _can_ be done on x86.  There
>> > is a separate BPF_JIT setting to actually enable it.
>>
>> Well, that doesn't seem to be present here. Just the HAVE_ symbol.
>
>
> Careful, there's BPF and EBPF.
>
> $ zgrep BPF /proc/config.gz
> CONFIG_CGROUP_BPF=y
> CONFIG_BPF=y
> CONFIG_BPF_SYSCALL=y
> # CONFIG_NETFILTER_XT_MATCH_BPF is not set
> # CONFIG_NET_CLS_BPF is not set
> # CONFIG_NET_ACT_BPF is not set
> # CONFIG_BPF_JIT is not set
> # CONFIG_BPF_STREAM_PARSER is not set
> CONFIG_HAVE_EBPF_JIT=y
> # CONFIG_TEST_BPF is not set
>

In this context they're the same thing.  The only use of "EBPF" is
that internal dependency, which might be why nobody bothered to try to
change it.

-- 
Rich

Reply via email to