01-06-2018, 03:26 PM
Unfortunately this does not work for me.
Would you please be so kind and show your results?
Code:
[root@cep03 ~]# uname -a
Linux cep03 4.15.0-rc6 #2 SMP PREEMPT Sat Jan 6 18:45:37 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
[root@cep03 ~]# ip link show dev eth0
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 66:ad:ab:e3:95:a8 brd ff:ff:ff:ff:ff:ff
[root@cep03 ~]# ethtool -S eth0 | grep err
mmc_tx_underflow_error: 0
mmc_tx_deferred: 0
mmc_tx_carrier_error: 0
mmc_rx_crc_error: 4
mmc_rx_align_error: 0
mmc_rx_run_error: 0
mmc_rx_jabber_error: 0
mmc_rx_length_error: 0
mmc_rx_watchdog_error: 0
mmc_rx_ipv4_hderr: 0
mmc_rx_ipv4_hderr_octets: 0
mmc_rx_ipv6_hderr_octets: 0
mmc_rx_ipv6_hderr: 0
mmc_rx_udp_err: 4
mmc_rx_tcp_err: 0
mmc_rx_icmp_err: 0
mmc_rx_udp_err_octets: 224
mmc_rx_tcp_err_octets: 0
mmc_rx_icmp_err_octets: 0
tx_deferred: 0
tx_payload_error: 0
tx_ip_header_error: 0
overflow_error: 0
ipc_csum_error: 0
rx_crc_errors: 0
fatal_bus_error_irq: 0
phy_eee_wakeup_error_n: 0
ip_hdr_err: 0
ip_payload_err: 0
[root@cep03 ~]# ethtool -k eth0 | grep checksumming
Cannot get device udp-fragmentation-offload settings: Operation not supported
rx-checksumming: off
tx-checksumming: off
[root@cep03 ~]# ethtool -K eth0 rx off tx off
Cannot get device udp-fragmentation-offload settings: Operation not supported
Cannot get device udp-fragmentation-offload settings: Operation not supported
[root@cep03 ~]# ethtool -k eth0 | grep checksumming
Cannot get device udp-fragmentation-offload settings: Operation not supported
rx-checksumming: off
tx-checksumming: off
[root@cep03 ~]# iperf3 -c 192.168.11.100 -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.103 port 51274 connected to 192.168.11.100 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 22.6 KBytes 185 Kbits/sec
[ 4] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 109 KBytes 89.2 Kbits/sec 18 sender
[ 4] 0.00-10.00 sec 22.6 KBytes 18.5 Kbits/sec receiver
iperf Done.
[root@cep03 ~]# ethtool -S eth0 | grep err | grep -v ": 0"
mmc_rx_crc_error: 33
mmc_rx_udp_err: 4
mmc_rx_tcp_err: 29
mmc_rx_udp_err_octets: 224
mmc_rx_tcp_err_octets: 42920
[root@cep03 ~]# ip link set eth0 down
[root@cep03 ~]# ip link set mtu 1200 dev eth0
[root@cep03 ~]# ip link set eth0 up
[ 136.029978] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 136.044509] rk_gmac-dwmac ff540000.ethernet eth0: RX IPC Checksum Offload disabled
[ 136.045250] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[root@cep03 ~]# [ 139.110570] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[root@cep03 ~]# ip link show dev eth0
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1200 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 66:ad:ab:e3:95:a8 brd ff:ff:ff:ff:ff:ff
[root@cep03 ~]# iperf3 -c 192.168.11.100 -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.103 port 51278 connected to 192.168.11.100 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 14.6 KBytes 119 Kbits/sec
[ 4] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec
[ 4] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 42.6 KBytes 34.9 Kbits/sec 29 sender
[ 4] 0.00-10.00 sec 14.6 KBytes 11.9 Kbits/sec receiver
iperf Done.
[root@cep03 ~]# ethtool -S eth0 | grep err | grep -v ": 0"
mmc_rx_crc_error: 33
mmc_rx_tcp_err: 32
mmc_rx_icmp_err: 1
mmc_rx_tcp_err_octets: 38060
mmc_rx_icmp_err_octets: 72
[root@cep03 ~]#
Would you please be so kind and show your results?