From: Hauke Mehrtens Date: Thu, 21 Mar 2019 18:16:16 +0000 (+0100) Subject: linux: Add kmod-sched-mqprio X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f83522fa63618c3c64e5a447a05014ddb962dbfb;p=openwrt%2Fstaging%2Fluka.git linux: Add kmod-sched-mqprio This adds Multi-queue priority scheduler (MQPRIO). Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index 003603f10b..220c2d41b3 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -757,6 +757,22 @@ endef $(eval $(call KernelPackage,sched-core)) +define KernelPackage/sched-mqprio + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=Multi-queue priority scheduler (MQPRIO) + DEPENDS:=+kmod-sched-core + KCONFIG:=CONFIG_NET_SCH_MQPRIO + FILES:=$(LINUX_DIR)/net/sched/sch_mqprio.ko + AUTOLOAD:=$(call AutoProbe, sch_mqprio) +endef + +define KernelPackage/sched-mqprio/description + This scheduler allows QOS to be offloaded on NICs that have support for offloading QOS schedulers. +endef + +$(eval $(call KernelPackage,sched-mqprio)) + + define KernelPackage/sched-connmark SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=Traffic shaper conntrack mark support