aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke.mehrtens@intel.com>2019-03-21 19:16:17 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-03-25 22:50:28 +0100
commit72c7e2dc467ca07999bdb3122816ed97d75b9412 (patch)
treefd8eafda5342b586e00f383219520106ecc65583
parentf83522fa63618c3c64e5a447a05014ddb962dbfb (diff)
downloadupstream-72c7e2dc467ca07999bdb3122816ed97d75b9412.tar.gz
upstream-72c7e2dc467ca07999bdb3122816ed97d75b9412.tar.bz2
upstream-72c7e2dc467ca07999bdb3122816ed97d75b9412.zip
linux: Add kmod-sched-flower
This allows to classify packets based on a configurable combination of packet keys and masks. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
-rw-r--r--package/kernel/linux/modules/netsupport.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 220c2d41b3..870ee41bbe 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-flower
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=Flower traffic classifier
+ DEPENDS:=+kmod-sched-core
+ KCONFIG:=CONFIG_NET_CLS_FLOWER
+ FILES:=$(LINUX_DIR)/net/sched/cls_flower.ko
+ AUTOLOAD:=$(call AutoProbe, cls_flower)
+endef
+
+define KernelPackage/sched-flower/description
+ Allows to classify packets based on a configurable combination of packet keys and masks.
+endef
+
+$(eval $(call KernelPackage,sched-flower))
+
+
define KernelPackage/sched-mqprio
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Multi-queue priority scheduler (MQPRIO)