openwrt/target/linux/generic
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
..
backport-4.9 kernel: bump 4.9 to 4.9.155 2019-02-08 17:27:47 +01:00
backport-4.14 kernel: bump 4.14 to 4.14.98 2019-02-08 17:27:47 +01:00
backport-4.19 kernel: bump 4.19 to 4.19.20 2019-02-08 17:27:47 +01:00
files kernel: add DT binding support to the Edimax uImage parser 2019-01-19 12:51:04 +01:00
hack-4.9 kernel: bump 4.9 to 4.9.155 2019-02-08 17:27:47 +01:00
hack-4.14 kernel: fold xt_FLOWOFFLOAD fixes into the main patch 2019-02-09 14:37:30 +01:00
hack-4.19 kernel: bump 4.19 to 4.19.20 2019-02-08 17:27:47 +01:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-3.18 kernel: bump 3.18 to 3.18.133 2019-01-28 18:17:32 +01:00
pending-4.9 kernel: bump 4.9 to 4.9.155 2019-02-08 17:27:47 +01:00
pending-4.14 kernel: bump 4.14 to 4.14.98 2019-02-08 17:27:47 +01:00
pending-4.19 kernel: bump 4.19 to 4.19.20 2019-02-08 17:27:47 +01:00
config-3.18 kernel/modules: add kmod-pmbus-zl6100 module 2019-01-13 11:07:37 +01:00
config-4.9 kernel: enable CONFIG_BPF_JIT by default 2019-02-11 20:18:48 +00:00
config-4.14 kernel: enable CONFIG_BPF_JIT by default 2019-02-11 20:18:48 +00:00
config-4.19 kernel: enable CONFIG_BPF_JIT by default 2019-02-11 20:18:48 +00:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00