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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 22 Feb 2023 18:17:42 +0100
From:   Frank Wunderlich <frank-w@...lic-files.de>
To:     Vladimir Oltean <olteanv@...il.com>
Cc:     Arınç ÜNAL <arinc.unal@...nc9.com>,
        netdev <netdev@...r.kernel.org>, erkin.bozoglu@...ont.com,
        Andrew Lunn <andrew@...n.ch>,
        Florian Fainelli <f.fainelli@...il.com>,
        Felix Fietkau <nbd@....name>, John Crispin <john@...ozen.org>,
        Mark Lee <Mark-MC.Lee@...iatek.com>,
        Lorenzo Bianconi <lorenzo@...nel.org>,
        Matthias Brugger <matthias.bgg@...il.com>,
        Landen Chao <Landen.Chao@...iatek.com>,
        Sean Wang <sean.wang@...iatek.com>,
        DENG Qingfang <dqfext@...il.com>
Subject: Aw: Re: Choose a default DSA CPU port

Hi

thanks vladimir for the Patch, seems to work so far...
system now says dsa-ports are routed over eth0 and ethtool stats say it too.

wonder why i get only 620Mbit on wan-port like over eth1.

root@...-r2:~# ip a s wan
5: wan@...0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 08:22:33:44:55:77 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.11/24 scope global wan
       valid_lft forever preferred_lft forever
    inet6 fe80::a22:33ff:fe44:5577/64 scope link
       valid_lft forever preferred_lft forever
root@...-r2:~# dmesg | grep eth0
[    3.309829] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xe09e0000, irq 213
[    4.883250] mtk_soc_eth 1b100000.ethernet eth0: entered promiscuous mode
[  394.459951] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/trgmii link mode
[  394.468881] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  394.477858] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@...-r2:~# ethtool -S eth0 | grep bytes
     tx_bytes: 819990532
     rx_bytes: 18465803
root@...-r2:~#
root@...-r2:~# ethtool -S eth1 | grep bytes
     tx_bytes: 0
     rx_bytes: 0
root@...-r2:~# iperf3 -c 192.168.0.21
Connecting to host 192.168.0.21, port 5201
[  5] local 192.168.0.11 port 60280 connected to 192.168.0.21 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  75.3 MBytes   631 Mbits/sec    0    358 KBytes
[  5]   1.00-2.00   sec  74.3 MBytes   623 Mbits/sec    0    376 KBytes
[  5]   2.00-3.00   sec  74.6 MBytes   626 Mbits/sec    0    376 KBytes
[  5]   3.00-4.00   sec  74.1 MBytes   622 Mbits/sec    0    376 KBytes
[  5]   4.00-5.00   sec  74.6 MBytes   626 Mbits/sec    0    376 KBytes
[  5]   5.00-6.00   sec  74.5 MBytes   625 Mbits/sec    0    376 KBytes
[  5]   6.00-7.00   sec  74.4 MBytes   625 Mbits/sec    0    411 KBytes
[  5]   7.00-8.00   sec  74.1 MBytes   622 Mbits/sec    0    411 KBytes
[  5]   8.00-9.00   sec  74.6 MBytes   626 Mbits/sec    0    411 KBytes
[  5]   9.00-10.00  sec  74.0 MBytes   621 Mbits/sec    0    411 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   744 MBytes   624 Mbits/sec    0             sender
[  5]   0.00-10.04  sec   744 MBytes   621 Mbits/sec                  receiver

iperf Done.
root@...-r2:~# iperf3 -c 192.168.0.21 -R
Connecting to host 192.168.0.21, port 5201
Reverse mode, remote host 192.168.0.21 is sending
[  5] local 192.168.0.11 port 45834 connected to 192.168.0.21 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   112 MBytes   939 Mbits/sec
[  5]   1.00-2.00   sec   112 MBytes   939 Mbits/sec
[  5]   2.00-3.00   sec   105 MBytes   881 Mbits/sec
[  5]   3.00-4.00   sec   105 MBytes   883 Mbits/sec
[  5]   4.00-5.00   sec   105 MBytes   883 Mbits/sec
[  5]   5.00-6.00   sec   105 MBytes   884 Mbits/sec
[  5]   6.00-7.00   sec   105 MBytes   884 Mbits/sec
[  5]   7.00-8.00   sec   105 MBytes   883 Mbits/sec
[  5]   8.00-9.00   sec   105 MBytes   878 Mbits/sec
[  5]   9.00-10.00  sec   105 MBytes   880 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.04  sec  1.04 GBytes   893 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.04 GBytes   893 Mbits/sec                  receiver

iperf Done.

without Arincs Patch i got 940Mbit on gmac0, so something seems to affect the gmac when port5 is enabled.

I guess here we need mtk for more information, so i extended cc based on get_maintainers-script (except generic maintainers and mainlinglists...can be added later if needed)

regards Frank

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ