1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-12 19:31:52 +00:00
openmptcprouter/patches/nanqinlang.patch

29 lines
950 B
Diff
Raw Normal View History

2019-12-22 07:45:01 +00:00
--- a/package/kernel/linux/modules/netsupport.mk 2019-12-18 18:31:28.865626571 +0100
+++ b/package/kernel/linux/modules/netsupport.mk 2019-12-18 18:33:31.175524777 +0100
2019-12-18 18:15:36 +00:00
@@ -962,6 +962,25 @@
$(eval $(call KernelPackage,tcp-bbr))
+define KernelPackage/tcp-nanqinlang
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=BBR NANQINLANG TCP congestion control
+ DEPENDS:=+LINUX_4_9:kmod-sched
+ KCONFIG:= \
+ CONFIG_TCP_CONG_ADVANCED=y \
+ CONFIG_TCP_CONG_NANQINLANG
+ FILES:=$(LINUX_DIR)/net/ipv4/tcp_nanqinlang.ko
+ AUTOLOAD:=$(call AutoLoad,74,tcp_nanqinlang)
+endef
+
+define KernelPackage/tcp-nanqinlang/description
+ Kernel module for BBR (Bottleneck Bandwidth and RTT) TCP congestion
+ control. It requires the fq ("Fair Queue") pacing packet scheduler.
+ For kernel 4.13+, TCP internal pacing is implemented as fallback.
+endef
+
+$(eval $(call KernelPackage,tcp-nanqinlang))
+
define KernelPackage/ax25
SUBMENU:=$(NETWORK_SUPPORT_MENU)