Przeglądaj źródła

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 <[email protected]>
Alexandru Gagniuc 2 lat temu
rodzic
commit
8fba9afda5
1 zmienionych plików z 12 dodań i 0 usunięć
  1. 12 0
      package/kernel/linux/modules/netsupport.mk

+ 12 - 0
package/kernel/linux/modules/netsupport.mk

@@ -972,6 +972,18 @@ endef
 $(eval $(call KernelPackage,sched-red))
 $(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
 define KernelPackage/bpf-test
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=Test Berkeley Packet Filter functionality
   TITLE:=Test Berkeley Packet Filter functionality