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, 5 Nov 2022 21:55:35 +0000 (22:55 +0100)
This adds a package with the DRR scheduler.

Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
(cherry picked from commit fa85e44d3c4437327a0ad592831f1746b8b2dc3a)

package/kernel/linux/modules/netsupport.mk

index bc707054b43a50c96f672579f2aac0f425b30aa7..c9afe3b2a64e0efa4fce4d5bca4c4d2b8a1923bd 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