aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2020-09-08 09:26:33 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-09-19 13:39:29 +0100
commitd10b738c4b50d24a474c865ea7d0dca0fe623245 (patch)
tree254a6026099746381c6220d96cf561c8107e51f8 /target/linux/mediatek
parent9e7369d37e3c8ea460ea200f629e8cd0dd7ab54e (diff)
downloadupstream-d10b738c4b50d24a474c865ea7d0dca0fe623245.tar.gz
upstream-d10b738c4b50d24a474c865ea7d0dca0fe623245.tar.bz2
upstream-d10b738c4b50d24a474c865ea7d0dca0fe623245.zip
mediatek: fix missing pause on switch port for Banana Pi R2
This causes rx drops when running iperf. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'target/linux/mediatek')
-rw-r--r--target/linux/mediatek/patches-5.4/0700-arm-dts-mt7623-add-missing-pause-for-switchport.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.4/0700-arm-dts-mt7623-add-missing-pause-for-switchport.patch b/target/linux/mediatek/patches-5.4/0700-arm-dts-mt7623-add-missing-pause-for-switchport.patch
new file mode 100644
index 0000000000..35277f0ddd
--- /dev/null
+++ b/target/linux/mediatek/patches-5.4/0700-arm-dts-mt7623-add-missing-pause-for-switchport.patch
@@ -0,0 +1,27 @@
+From: Frank Wunderlich <frank-w@public-files.de>
+Date: Mon, 7 Sep 2020 09:05:17 +0200
+
+port6 of mt7530 switch (= cpu port 0) on bananapi-r2 misses pause option
+which causes rx drops on running iperf.
+
+Cc: stable@vger.kernel.org
+Fixes: f4ff257cd160 ("arm: dts: mt7623: add support for Bananapi R2 (BPI-R2) board")
+Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
+---
+ 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 @@ port@6 {
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
++ pause;
+ };
+ };
+ };
+--
+2.25.1