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-08-06 21:32:35 +0200
commitfa85e44d3c4437327a0ad592831f1746b8b2dc3a (patch)
tree1b95ed8485dd53f977f6d7fe821a47d6e5a19f08 /package/kernel/linux
parentc94ba95e6cd41ccf8f15e77ebe7b7d65e5fd4396 (diff)
downloadupstream-fa85e44d3c4437327a0ad592831f1746b8b2dc3a.tar.gz
upstream-fa85e44d3c4437327a0ad592831f1746b8b2dc3a.tar.bz2
upstream-fa85e44d3c4437327a0ad592831f1746b8b2dc3a.zip
kernel: netsupport: Add kmod-sched-drr
This adds a package with the DRR scheduler. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
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 4bd988ad92..ab358aeaaf 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