aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2018-10-26 02:16:32 -0700
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2019-02-11 20:18:48 +0000
commit6be23e91b611b6fa62160399cffd9c463b4c0004 (patch)
tree119fb404a421015e6d7bd1ac48499ebfb6ef22b7 /package
parentcd465e34142de096490ffc4fc6a2b00bcba87235 (diff)
downloadupstream-6be23e91b611b6fa62160399cffd9c463b4c0004.tar.gz
upstream-6be23e91b611b6fa62160399cffd9c463b4c0004.tar.bz2
upstream-6be23e91b611b6fa62160399cffd9c463b4c0004.zip
kernel/modules: add kmod-sched-bpf package
Add cls_bpf and act_bpf modules for additional tc classifier and action support of cBPF and eBPF. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/netsupport.mk18
1 files changed, 17 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 620abe7966..e5362bc070 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -717,7 +717,7 @@ $(eval $(call KernelPackage,mppe))
SCHED_MODULES = $(patsubst $(LINUX_DIR)/net/sched/%.ko,%,$(wildcard $(LINUX_DIR)/net/sched/*.ko))
SCHED_MODULES_CORE = sch_ingress sch_fq_codel sch_hfsc sch_htb sch_tbf cls_basic cls_fw cls_route cls_flow cls_tcindex cls_u32 em_u32 act_mirred act_skbedit cls_matchall
-SCHED_MODULES_FILTER = $(SCHED_MODULES_CORE) act_connmark sch_netem em_ipset
+SCHED_MODULES_FILTER = $(SCHED_MODULES_CORE) act_connmark sch_netem em_ipset cls_bpf act_bpf
SCHED_MODULES_EXTRA = $(filter-out $(SCHED_MODULES_FILTER),$(SCHED_MODULES))
SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(filter $(SCHED_MODULES_CORE),$(SCHED_MODULES)))
SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXTRA))
@@ -782,6 +782,22 @@ endef
$(eval $(call KernelPackage,sched-ipset))
+define KernelPackage/sched-bpf
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=Traffic shaper support for Berkeley Packet Filter
+ DEPENDS:=@!LINUX_3_18
+ KCONFIG:= \
+ CONFIG_NET_CLS_BPF \
+ CONFIG_NET_ACT_BPF
+ FILES:= \
+ $(LINUX_DIR)/net/sched/cls_bpf.ko \
+ $(LINUX_DIR)/net/sched/act_bpf.ko
+ AUTOLOAD:=$(call AutoLoad,72,cls_bpf act_bpf)
+endef
+
+$(eval $(call KernelPackage,sched-bpf))
+
+
define KernelPackage/sched
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Extra traffic schedulers