aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2023-07-27 10:51:33 -0500
committerHauke Mehrtens <hauke@hauke-m.de>2023-08-11 12:53:34 +0200
commit320cfa7b5e3c951332afcf38015999ee980dce73 (patch)
tree7b00e95343c33e8d180d2b6a1237c6c0f40ea3f1 /package/kernel
parent40f9514e8068fbc149a9616b66ff7b996a718a68 (diff)
downloadupstream-320cfa7b5e3c951332afcf38015999ee980dce73.tar.gz
upstream-320cfa7b5e3c951332afcf38015999ee980dce73.tar.bz2
upstream-320cfa7b5e3c951332afcf38015999ee980dce73.zip
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@gmail.com> (cherry picked from commit 8fba9afda5f514afa48a216514b3f0b0fb22afac)
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/netsupport.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 1d5950d237..97556e459d 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -971,6 +971,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