aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hmehrtens@maxlinear.com>2022-07-29 18:35:59 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-05 22:55:35 +0100
commit31fd96bdbd6ff89e031bb7f89ac21c9bd63127cd (patch)
treea5e1dc4ee3717189a19f4ad504c4331569c60eb8 /package/kernel/linux
parentc61ed09228a52f699256bd24c8b74518ad5e704e (diff)
downloadupstream-31fd96bdbd6ff89e031bb7f89ac21c9bd63127cd.tar.gz
upstream-31fd96bdbd6ff89e031bb7f89ac21c9bd63127cd.tar.bz2
upstream-31fd96bdbd6ff89e031bb7f89ac21c9bd63127cd.zip
kernel: netsupport: Add kmod-sched-drr
This adds a package with the DRR scheduler. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> (cherry picked from commit fa85e44d3c4437327a0ad592831f1746b8b2dc3a)
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/netsupport.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index bc707054b4..c9afe3b2a6 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -844,6 +844,22 @@ endef
$(eval $(call KernelPackage,sched-ctinfo))
+define KernelPackage/sched-drr
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=Deficit Round Robin scheduler (DRR)
+ DEPENDS:=+kmod-sched-core
+ KCONFIG:=CONFIG_NET_SCH_DRR
+ FILES:=$(LINUX_DIR)/net/sched/sch_drr.ko
+ AUTOLOAD:=$(call AutoProbe,sch_drr)
+endef
+
+define KernelPackage/sched-drr/description
+ DRR algorithm Configuration
+endef
+
+$(eval $(call KernelPackage,sched-drr))
+
+
define KernelPackage/sched-flower
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Flower traffic classifier