From b5213550eba36f7eb812f8f61a01050b0671f181 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Mon, 16 Nov 2020 15:56:43 +0100 Subject: [PATCH] Add missing pause for CPU, fix iperf test --- .../0998-mt7623-add-missing-pause.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 root/target/linux/mediatek/patches-5.4/0998-mt7623-add-missing-pause.patch diff --git a/root/target/linux/mediatek/patches-5.4/0998-mt7623-add-missing-pause.patch b/root/target/linux/mediatek/patches-5.4/0998-mt7623-add-missing-pause.patch new file mode 100644 index 00000000..8982c7ab --- /dev/null +++ b/root/target/linux/mediatek/patches-5.4/0998-mt7623-add-missing-pause.patch @@ -0,0 +1,32 @@ +From 0808ca98e67e914ac48cc8f11910509d3b04379c Mon Sep 17 00:00:00 2001 +From: Frank Wunderlich +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 +Cc: stable@vger.kernel.org +Link: https://lore.kernel.org/r/20200907070517.51715-1-linux@fw-web.de +Signed-off-by: Matthias Brugger +Signed-off-by: Greg Kroah-Hartman +--- + 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; + }; + }; + };