juhosg
bb14a2f07c
ar71xx: ag71xx: make switch register access atomic
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.
This is easily noticable during an iperf session:
...
[ 3] 52.0-53.0 sec 11.3 MBytes 94.4 Mbits/sec
[ 3] 53.0-54.0 sec 11.4 MBytes 95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[ 3] 54.0-55.0 sec 6.75 MBytes 56.6 Mbits/sec
[ 3] 55.0-56.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 56.0-57.0 sec 10.5 MBytes 88.1 Mbits/sec
...
[ 3] 169.0-170.0 sec 11.4 MBytes 95.4 Mbits/sec
[ 3] 170.0-171.0 sec 11.4 MBytes 95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[ 3] 171.0-172.0 sec 7.63 MBytes 64.0 Mbits/sec
[ 3] 172.0-173.0 sec 9.38 MBytes 78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[ 3] 173.0-174.0 sec 11.3 MBytes 94.4 Mbits/sec
[ 3] 174.0-175.0 sec 11.4 MBytes 95.4 Mbits/sec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 16:32:53 +00:00
..
2011-04-21 13:18:33 +00:00
2011-05-06 12:37:36 +00:00
2011-04-10 15:08:28 +00:00
2011-05-06 12:37:40 +00:00
2011-05-08 16:32:53 +00:00
2011-04-09 23:36:26 +00:00
2011-04-27 17:18:03 +00:00
2011-05-06 12:37:36 +00:00
2011-04-03 13:59:07 +00:00
2011-05-07 12:49:17 +00:00
2011-05-06 12:37:36 +00:00
2011-05-02 00:28:30 +00:00
2011-03-26 01:07:12 +00:00
2011-05-06 12:37:36 +00:00
2010-11-22 13:31:46 +00:00
2011-05-06 12:37:36 +00:00
2011-03-18 13:25:32 +00:00
2011-04-03 13:59:07 +00:00
2011-05-05 16:35:40 +00:00
2011-03-26 01:07:12 +00:00
2011-04-03 13:59:07 +00:00
2011-04-03 13:59:07 +00:00
2011-04-16 21:30:48 +00:00
2011-04-03 13:59:07 +00:00
2011-04-03 13:59:07 +00:00
2011-03-26 01:07:12 +00:00
2011-05-06 12:37:36 +00:00
2011-03-26 01:07:12 +00:00
2011-03-26 01:07:12 +00:00
2011-03-28 15:44:03 +00:00
2011-05-06 12:37:36 +00:00
2011-03-28 15:53:28 +00:00
2011-04-12 14:16:32 +00:00
2011-04-03 13:59:07 +00:00
2011-03-26 01:07:12 +00:00
2011-03-26 01:07:12 +00:00
2010-07-12 14:06:13 +00:00
2011-04-03 13:59:07 +00:00
2010-07-12 14:06:13 +00:00
2011-04-04 08:43:07 +00:00
2011-05-04 08:47:00 +00:00
2011-05-06 12:37:36 +00:00
2011-05-06 12:37:36 +00:00
2011-03-26 01:07:12 +00:00
2011-04-03 13:59:07 +00:00
2011-02-19 12:44:07 +00:00
2010-04-12 23:15:56 +00:00
2011-05-06 12:37:36 +00:00
2011-05-03 21:18:12 +00:00
2011-04-03 13:59:07 +00:00
2010-08-06 21:36:35 +00:00