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

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 30 09:13:10 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8fba9afda5f514afa48a216514b3f0b0fb22afac

commit 8fba9afda5f514afa48a216514b3f0b0fb22afac
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
AuthorDate: Thu Jul 27 10:51:33 2023 -0500

    kernel: netsupport: Add kmod-sched-skbprio
    
    Add support for the SKBPRIO queuing discipline. This is subtly
    different than prio as it also drops packets from the lower priority
    flows.
    
    Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
---
 package/kernel/linux/modules/netsupport.mk | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 2475828bde..35e627002e 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -972,6 +972,18 @@ endef
 $(eval $(call KernelPackage,sched-red))
 
 
+define KernelPackage/sched-skbprio
+  SUBMENU:=$(NETWORK_SUPPORT_MENU)
+  TITLE:=SKB priority queue scheduler (SKBPRIO)
+  DEPENDS:=+kmod-sched-core
+  KCONFIG:= CONFIG_NET_SCH_SKBPRIO
+  FILES:= $(LINUX_DIR)/net/sched/sch_skbprio.ko
+  AUTOLOAD:=$(call AutoProbe,sch_skbprio)
+endef
+
+$(eval $(call KernelPackage,sched-skbprio))
+
+
 define KernelPackage/bpf-test
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=Test Berkeley Packet Filter functionality




More information about the lede-commits mailing list