mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Try to add nanqinlang in kernel
This commit is contained in:
		
							parent
							
								
									50fa1cd290
								
							
						
					
					
						commit
						acf62296cb
					
				
					 1 changed files with 28 additions and 0 deletions
				
			
		
							
								
								
									
										28
									
								
								patches/nanqinlang.patch
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								patches/nanqinlang.patch
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,28 @@
 | 
			
		|||
--- package/kernel/linux/modules/netsupport.mk.anc	2019-12-18 18:31:28.865626571 +0100
 | 
			
		||||
+++ package/kernel/linux/modules/netsupport.mk	2019-12-18 18:33:31.175524777 +0100
 | 
			
		||||
@@ -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)
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue