From fa85e44d3c4437327a0ad592831f1746b8b2dc3a Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 29 Jul 2022 18:35:59 +0200 Subject: [PATCH] kernel: netsupport: Add kmod-sched-drr This adds a package with the DRR scheduler. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netsupport.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- 2.30.2