diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2018-11-19 09:16:48 -0800 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2019-02-11 20:18:48 +0000 |
commit | ebcd5226cc0dc1e13531c42c55acba553db6111b (patch) | |
tree | 19f896eaab3ddd911cfcbe725626ea5bab86b346 /package/kernel/linux/modules/netsupport.mk | |
parent | 6be23e91b611b6fa62160399cffd9c463b4c0004 (diff) | |
download | upstream-ebcd5226cc0dc1e13531c42c55acba553db6111b.tar.gz upstream-ebcd5226cc0dc1e13531c42c55acba553db6111b.tar.bz2 upstream-ebcd5226cc0dc1e13531c42c55acba553db6111b.zip |
kernel/modules: add kmod-bpf-test package
Add the test_bpf module that runs various test vectors against the BPF
interpreter or BPF JIT compiler. The module must be manually loaded, as
with the kmod-crypto-test module which serves a similar purpose.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'package/kernel/linux/modules/netsupport.mk')
-rw-r--r-- | package/kernel/linux/modules/netsupport.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index e5362bc070..003603f10b 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -798,6 +798,17 @@ endef $(eval $(call KernelPackage,sched-bpf)) +define KernelPackage/bpf-test + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=Test Berkeley Packet Filter functionality + DEPENDS:=@!LINUX_3_18 + KCONFIG:=CONFIG_TEST_BPF + FILES:=$(LINUX_DIR)/lib/test_bpf.ko +endef + +$(eval $(call KernelPackage,bpf-test)) + + define KernelPackage/sched SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=Extra traffic schedulers |