mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Add missing pause for CPU, fix iperf test
This commit is contained in:
		
							parent
							
								
									c43b1c0e9d
								
							
						
					
					
						commit
						b5213550eb
					
				
					 1 changed files with 32 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -0,0 +1,32 @@
 | 
			
		|||
From 0808ca98e67e914ac48cc8f11910509d3b04379c Mon Sep 17 00:00:00 2001
 | 
			
		||||
From: Frank Wunderlich <frank-w@public-files.de>
 | 
			
		||||
Date: Mon, 7 Sep 2020 09:05:17 +0200
 | 
			
		||||
Subject: [PATCH] arm: dts: mt7623: add missing pause for switchport
 | 
			
		||||
 | 
			
		||||
commit 36f0a5fc5284838c544218666c63ee8cfa46a9c3 upstream.
 | 
			
		||||
 | 
			
		||||
port6 of mt7530 switch (= cpu port 0) on bananapi-r2 misses pause option
 | 
			
		||||
which causes rx drops on running iperf.
 | 
			
		||||
 | 
			
		||||
Fixes: f4ff257cd160 ("arm: dts: mt7623: add support for Bananapi R2 (BPI-R2) board")
 | 
			
		||||
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
 | 
			
		||||
Cc: stable@vger.kernel.org
 | 
			
		||||
Link: https://lore.kernel.org/r/20200907070517.51715-1-linux@fw-web.de
 | 
			
		||||
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
 | 
			
		||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 | 
			
		||||
---
 | 
			
		||||
 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 1 +
 | 
			
		||||
 1 file changed, 1 insertion(+)
 | 
			
		||||
 | 
			
		||||
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
 | 
			
		||||
index 2b760f90f38c..5375c6699843 100644
 | 
			
		||||
--- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
 | 
			
		||||
+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
 | 
			
		||||
@@ -192,6 +192,7 @@
 | 
			
		||||
 					fixed-link {
 | 
			
		||||
 						speed = <1000>;
 | 
			
		||||
 						full-duplex;
 | 
			
		||||
+						pause;
 | 
			
		||||
 					};
 | 
			
		||||
 				};
 | 
			
		||||
 			};
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue