[openwrt/openwrt] kernel: netsupport: Add kmod-sched-drr

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 5 16:04:05 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/31fd96bdbd6ff89e031bb7f89ac21c9bd63127cd

commit 31fd96bdbd6ff89e031bb7f89ac21c9bd63127cd
Author: Hauke Mehrtens <hmehrtens at maxlinear.com>
AuthorDate: Fri Jul 29 18:35:59 2022 +0200

    kernel: netsupport: Add kmod-sched-drr
    
    This adds a package with the DRR scheduler.
    
    Signed-off-by: Hauke Mehrtens <hmehrtens at maxlinear.com>
    (cherry picked from commit fa85e44d3c4437327a0ad592831f1746b8b2dc3a)
---
 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 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




More information about the lede-commits mailing list