lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <trinity-79a1a243-0b80-402f-8c65-4bda591d6aa1-1679938094805@3c-app-gmx-bs30>
Date:   Mon, 27 Mar 2023 19:28:14 +0200
From:   Frank Wunderlich <frank-w@...lic-files.de>
To:     Felix Fietkau <nbd@....name>
Cc:     netdev@...r.kernel.org, Daniel Golle <daniel@...rotopia.org>
Subject: Aw: Re:  Re: Re: [PATCH net] net: ethernet: mtk_eth_soc: fix tx
 throughput regression with direct 1G links


> Gesendet: Sonntag, 26. März 2023 um 22:09 Uhr
> Von: "Felix Fietkau" <nbd@....name>
> On 26.03.23 19:49, Frank Wunderlich wrote:
> >> Gesendet: Sonntag, 26. März 2023 um 19:27 Uhr
> >> Von: "Felix Fietkau" <nbd@....name>

> >> On 26.03.23 19:10, Frank Wunderlich wrote:
> >> >> Gesendet: Sonntag, 26. März 2023 um 17:56 Uhr
> >> >> Von: "Felix Fietkau" <nbd@....name>

> >> >> On 25.03.23 10:28, Frank Wunderlich wrote:
> >> >> >> Gesendet: Freitag, 24. März 2023 um 15:04 Uhr
> >> >> >> Von: "Felix Fietkau" <nbd@....name>

> >> >> > thx for the fix, as daniel already checked it on mt7986/bpi-r3 i tested bpi-r2/mt7623
> >> >> > 
> >> >> > but unfortunately it does not fix issue on bpi-r2 where the gmac0/mt7530 part is affected.
> >> >> > 
> >> >> > maybe it needs a special handling like you do for mt7621? maybe it is because the trgmii mode used on this path?
> >> >> Could you please test if making it use the MT7621 codepath brings back 
> >> >> performance? I don't have any MT7623 hardware for testing right now.

> > used the CONFIG_MACH_MT7623 (which is set in my config) boots up fine, but did not fix the 622Mbit-tx-issue
> > 
> > and i'm not sure i have tested it before...all ports of mt7531 are affected, not only wan (i remembered you asked for this)
> Does the MAC that's connected to the switch use flow control? Can you 
> test if changing that makes a difference?

it does use flow control/pause on mac and switch-port, disabled it, but it does not change anything (still ~620Mbit on tx)

+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
@@ -182,7 +182,7 @@ gmac0: mac@0 {
                fixed-link {
                        speed = <1000>;
                        full-duplex;
-                       pause;
+                       //pause;
                };
        };
 
@@ -235,7 +235,7 @@ port@6 {
                                        fixed-link {
                                                speed = <1000>;
                                                full-duplex;
-                                               pause;
+                                               //pause;
                                        };
                                };
                        };

regards Frank

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ