Tony Ambardar a7370b5179 kernel: enable CONFIG_BPF_JIT by default
Enable the built-in BPF JIT compiler for all 4.9, 4.14 and 4.19 kernels,
which should speed up cBPF and eBPF-based packet filtering (tc, iptables)
and packet sniffing (libpcap, tcpdump, fwknopd, etc).

This has minimal kernel size impact, increasing the size of uImage-lzma
(normally ~2 MB on mips_24kc or mips64el_mips64) by 5 KB for the MIPS32
arch cBPF JIT and by 9 KB for the MIPS64 arch eBPF JIT, on kernel 4.14.

With JIT enabled (cBPF only), the standard BPF test module (test_bpf.ko)
running on a DIR-835 (mips_24kc) used 33 CPU seconds, but 68 without JIT.

This change aligns with the notion of OpenWRT as the network go-to swiss
army knife for packet handling, especially on CPU-constrained platforms.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2019-02-11 20:18:48 +00:00
..
2019-01-28 18:17:32 +01:00
2019-01-28 18:17:32 +01:00
2019-01-24 15:53:03 +01:00
2019-01-28 18:17:32 +01:00
2018-10-19 10:01:57 +02:00
2019-01-27 00:16:13 +01:00
2018-11-05 16:00:00 +01:00
2019-01-28 18:17:32 +01:00
2019-01-28 18:17:32 +01:00
2019-02-01 11:41:00 +01:00
2019-01-28 18:17:32 +01:00
2019-02-08 17:27:47 +01:00
2019-01-13 16:31:40 +01:00
2018-08-20 13:03:23 +02:00
2019-02-01 11:41:00 +01:00
2019-01-28 18:17:32 +01:00
2019-02-08 17:27:47 +01:00
2019-01-12 19:40:13 +01:00
2018-10-09 14:29:55 +02:00
2018-10-19 10:01:57 +02:00
2019-01-07 17:09:06 +01:00
2018-12-10 11:48:44 +01:00
2019-01-28 18:17:32 +01:00
2019-01-12 22:40:36 +01:00
2018-08-20 13:03:23 +02:00
2018-12-26 17:32:48 +01:00