linux: Add kmod-sched-mqprio
authorHauke Mehrtens <hauke.mehrtens@intel.com>
Thu, 21 Mar 2019 18:16:16 +0000 (19:16 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 25 Mar 2019 21:50:28 +0000 (22:50 +0100)
This adds Multi-queue priority scheduler (MQPRIO).

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
package/kernel/linux/modules/netsupport.mk

index 003603f10b10fb7f0effaa78ef19050ab68937b7..220c2d41b3a8c40eb6225f0fe0b75c8090b8a9d3 100644 (file)
@@ -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