[openwrt/openwrt] kernel: modules: netsupport: adapt for kernel 6.6
LEDE Commits
lede-commits at lists.infradead.org
Mon Mar 11 12:17:55 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/48b52d51dcb976a57875435786562987d5b8d2f7
commit 48b52d51dcb976a57875435786562987d5b8d2f7
Author: Weijie Gao <hackpascal at gmail.com>
AuthorDate: Sat Jan 6 15:09:12 2024 +0800
kernel: modules: netsupport: adapt for kernel 6.6
Adapt netsupport kmods for building under kernel 6.6:
* common part of mqprio was split into a new Kconfig since 6.3.
Add new kmod-sched-mqprio-common as dependency for kmod-sched-mqprio.
Signed-off-by: Weijie Gao <hackpascal at gmail.com>
---
package/kernel/linux/modules/netsupport.mk | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 535c087dec..0ee58fada4 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -907,10 +907,26 @@ endef
$(eval $(call KernelPackage,sched-ipset))
+define KernelPackage/sched-mqprio-common
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=mqprio queue common dependencies support
+ DEPENDS:=@LINUX_6_6
+ HIDDEN:=1
+ KCONFIG:=CONFIG_NET_SCH_MQPRIO_LIB
+ FILES:=$(LINUX_DIR)/net/sched/sch_mqprio_lib.ko
+endef
+
+define KernelPackage/sched-mqprio-common/description
+ Common library for manipulating mqprio queue configurations
+endef
+
+$(eval $(call KernelPackage,sched-mqprio-common))
+
+
define KernelPackage/sched-mqprio
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Multi-queue priority scheduler (MQPRIO)
- DEPENDS:=+kmod-sched-core
+ DEPENDS:=+kmod-sched-core +LINUX_6_6:kmod-sched-mqprio-common
KCONFIG:=CONFIG_NET_SCH_MQPRIO
FILES:=$(LINUX_DIR)/net/sched/sch_mqprio.ko
AUTOLOAD:=$(call AutoProbe, sch_mqprio)
More information about the lede-commits
mailing list