kernel: netsupport: Add kmod-sched-drr
authorHauke Mehrtens <hmehrtens@maxlinear.com>
Fri, 29 Jul 2022 16:35:59 +0000 (18:35 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Aug 2022 19:32:35 +0000 (21:32 +0200)
This adds a package with the DRR scheduler.

Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
package/kernel/linux/modules/netsupport.mk

index 4bd988ad926aab2817955ea6daaf32f5dee2ad03..ab358aeaaf0f11978493fc93b94552329ea44003 100644 (file)
@@ -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