kernel: netsupport: Add kmod-sched-skbprio
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 27 Jul 2023 15:51:33 +0000 (10:51 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 30 Jul 2023 16:11:19 +0000 (18:11 +0200)
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@gmail.com>
package/kernel/linux/modules/netsupport.mk

index 2475828bdeb9ae5f6b35779907b4e91057b3541e..35e627002eac63e01c3ff0b591c423100cbbaf7a 100644 (file)
@@ -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