10-05-2017, 10:06 AM
Is there a problem with GbE driver in 4.14?
Image: stretch-minimal-rock64-0.5.14-133-arm64.img
Kernel 4.4:
Kernel 4.14:
Image: stretch-minimal-rock64-0.5.14-133-arm64.img
Kernel 4.4:
Code:
root@rock64:~# uname -a
Linux rock64 4.4.77-rockchip-ayufan-133 #1 SMP Thu Sep 28 10:51:45 UTC 2017 aarch64 GNU/Linux
root@rock64:~# iperf3 -c 192.168.11.100 -f m
Connecting to host 192.168.11.100, port 5201
[ 4] local 192.168.11.177 port 55506 connected to 192.168.11.100 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.01 sec 116 MBytes 964 Mbits/sec 0 1.45 MBytes
[ 4] 1.01-2.01 sec 112 MBytes 943 Mbits/sec 0 1.45 MBytes
[ 4] 2.01-3.00 sec 111 MBytes 938 Mbits/sec 0 1.45 MBytes
[ 4] 3.00-4.00 sec 112 MBytes 941 Mbits/sec 0 1.70 MBytes
[ 4] 4.00-5.00 sec 112 MBytes 944 Mbits/sec 0 1.70 MBytes
[ 4] 5.00-6.00 sec 111 MBytes 937 Mbits/sec 0 1.70 MBytes
[ 4] 6.00-7.00 sec 112 MBytes 943 Mbits/sec 0 1.70 MBytes
[ 4] 7.00-8.01 sec 112 MBytes 941 Mbits/sec 0 1.70 MBytes
[ 4] 8.01-9.01 sec 112 MBytes 943 Mbits/sec 0 1.70 MBytes
[ 4] 9.01-10.00 sec 112 MBytes 946 Mbits/sec 0 1.70 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 1.10 GBytes 944 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 1.10 GBytes 941 Mbits/sec receiver
iperf Done.
root@rock64:~# iperf3 -c 192.168.11.100 -f m -R
Connecting to host 192.168.11.100, port 5201
Reverse mode, remote host 192.168.11.100 is sending
[ 4] local 192.168.11.177 port 55510 connected to 192.168.11.100 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 84.9 MBytes 712 Mbits/sec
[ 4] 1.00-2.00 sec 64.5 MBytes 541 Mbits/sec
[ 4] 2.00-3.00 sec 82.3 MBytes 690 Mbits/sec
[ 4] 3.00-4.00 sec 83.0 MBytes 696 Mbits/sec
[ 4] 4.00-5.00 sec 93.6 MBytes 785 Mbits/sec
[ 4] 5.00-6.00 sec 91.1 MBytes 765 Mbits/sec
[ 4] 6.00-7.00 sec 98.4 MBytes 826 Mbits/sec
[ 4] 7.00-8.00 sec 104 MBytes 869 Mbits/sec
[ 4] 8.00-9.00 sec 99.7 MBytes 837 Mbits/sec
[ 4] 9.00-10.00 sec 104 MBytes 869 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 906 MBytes 760 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 906 MBytes 760 Mbits/sec receiver
iperf Done.
root@rock64:~# ethtool -S eth0 | grep err |grep -v ": 0"
root@rock64:~#
Kernel 4.14:
Code:
root@rock64:~# uname -a
Linux rock64 4.14.0-rockchip-ayufan-133-g13d5899 #1 SMP PREEMPT Thu Sep 28 11:08:43 UTC 2017 aarch64 GNU/Linux
root@rock64:~# iperf3 -c 192.168.11.100 -f m
Connecting to host 192.168.11.100, port 5201
[ 4] local 192.168.11.177 port 44878 connected to 192.168.11.100 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 111 MBytes 926 Mbits/sec 0 535 KBytes
[ 4] 1.00-2.00 sec 112 MBytes 943 Mbits/sec 0 591 KBytes
[ 4] 2.00-3.00 sec 112 MBytes 942 Mbits/sec 0 591 KBytes
[ 4] 3.00-4.00 sec 112 MBytes 941 Mbits/sec 0 591 KBytes
[ 4] 4.00-5.00 sec 112 MBytes 942 Mbits/sec 0 591 KBytes
[ 4] 5.00-6.00 sec 112 MBytes 941 Mbits/sec 0 591 KBytes
[ 4] 6.00-7.00 sec 112 MBytes 943 Mbits/sec 0 621 KBytes
[ 4] 7.00-8.00 sec 112 MBytes 940 Mbits/sec 28 322 KBytes
[ 4] 8.00-9.00 sec 112 MBytes 942 Mbits/sec 0 351 KBytes
[ 4] 9.00-10.00 sec 112 MBytes 942 Mbits/sec 0 362 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 1.09 GBytes 940 Mbits/sec 28 sender
[ 4] 0.00-10.00 sec 1.09 GBytes 937 Mbits/sec receiver
iperf Done.
root@rock64:~# iperf3 -c 192.168.11.100 -f m -R
Connecting to host 192.168.11.100, port 5201
Reverse mode, remote host 192.168.11.100 is sending
[ 4] local 192.168.11.177 port 44882 connected to 192.168.11.100 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 7.07 KBytes 0.06 Mbits/sec
[ 4] 1.00-2.00 sec 0.00 Bytes 0.00 Mbits/sec
[ 4] 2.00-3.00 sec 0.00 Bytes 0.00 Mbits/sec
[ 4] 3.00-4.00 sec 0.00 Bytes 0.00 Mbits/sec
[ 4] 4.00-5.00 sec 0.00 Bytes 0.00 Mbits/sec
[ 4] 5.00-6.00 sec 0.00 Bytes 0.00 Mbits/sec
[ 4] 6.00-7.00 sec 0.00 Bytes 0.00 Mbits/sec
[ 4] 7.00-8.00 sec 0.00 Bytes 0.00 Mbits/sec
[ 4] 8.00-9.00 sec 0.00 Bytes 0.00 Mbits/sec
[ 4] 9.00-10.00 sec 0.00 Bytes 0.00 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 53.7 KBytes 0.04 Mbits/sec 5 sender
[ 4] 0.00-10.00 sec 7.07 KBytes 0.01 Mbits/sec receiver
iperf Done.
root@rock64:~# ethtool -S eth0 | grep err |grep -v ": 0"
mmc_rx_crc_error: 12692
mmc_rx_ipv4_hderr: 803
mmc_rx_ipv4_hderr_octets: 41840
mmc_rx_udp_err: 1
mmc_rx_tcp_err: 6000
mmc_rx_icmp_err: 4
mmc_rx_udp_err_octets: 152
mmc_rx_tcp_err_octets: 326664
mmc_rx_icmp_err_octets: 256
root@rock64:~#