openwrtv3/target/linux/generic/files/drivers/net/phy
Thibaut VARENE eff3549c58 generic: drop support for get_port_stats() on ar8xxx
The implementation is not efficient on ar8xxx switches. It triggers high
CPU load and degrades device performance.

The high CPU load has been traced down to the ar8xxx_reg_wait() call in
ar8xxx_mib_op(), which has to usleep_range() till the MIB busy flag set
by the request to update the MIB counter is cleared.

This commit removes the get_port_stats() code introduced in 4d8a66d and
leaves a note for future hacker's beware.

Fixes: FS#1004

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
2017-09-13 08:07:54 +02:00
..
b53 generic: provide get_port_stats() on b53 switches 2017-09-01 09:30:35 +02:00
adm6996.c generic: provide get_port_stats() on adm6996 switches 2017-09-01 09:30:35 +02:00
adm6996.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
ar8216.c generic: drop support for get_port_stats() on ar8xxx 2017-09-13 08:07:54 +02:00
ar8216.h generic: drop support for get_port_stats() on ar8xxx 2017-09-13 08:07:54 +02:00
ar8327.c generic: drop support for get_port_stats() on ar8xxx 2017-09-13 08:07:54 +02:00
ar8327.h ar8327: Add workarounds for AR8337 switch. 2017-03-30 09:48:52 +02:00
ip17xx.c ip17xx: correct aneg_done return value 2017-06-07 11:06:29 +02:00
mvsw61xx.c mvsw61xx: add support for MV88E6352 2017-01-13 17:12:40 +01:00
mvsw61xx.h mvsw61xx: add support for MV88E6352 2017-01-13 17:12:40 +01:00
mvswitch.c mvswitch: fix autonegotiation issue 2017-06-07 11:06:12 +02:00
mvswitch.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
psb6970.c kernel: update phy drivers for 4.9 2017-02-03 12:35:44 +01:00
rtl8306.c kernel: rtl8306: fix port link status 2017-09-08 21:52:38 +02:00
rtl8366_smi.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8366_smi.h generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8366rb.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8366s.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8367.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8367b.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
swconfig.c linux/swconfig_get_attr: fix leak of msg in case of error 2017-06-11 14:22:44 +02:00
swconfig_leds.c generic: make switch_port_stats tx/rx_bytes long long 2017-09-01 09:30:35 +02:00