You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
7 years ago
..
b53 generic: provide get_port_stats() on b53 switches 7 years ago
adm6996.c generic: provide get_port_stats() on adm6996 switches 7 years ago
adm6996.h treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
ar8216.c generic: drop support for get_port_stats() on ar8xxx 7 years ago
ar8216.h generic: drop support for get_port_stats() on ar8xxx 7 years ago
ar8327.c generic: drop support for get_port_stats() on ar8xxx 7 years ago
ar8327.h ar8327: Add workarounds for AR8337 switch. 7 years ago
ip17xx.c ip17xx: correct aneg_done return value 7 years ago
mvsw61xx.c mvsw61xx: add support for MV88E6352 8 years ago
mvsw61xx.h mvsw61xx: add support for MV88E6352 8 years ago
mvswitch.c mvswitch: fix autonegotiation issue 7 years ago
mvswitch.h treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
psb6970.c kernel: update phy drivers for 4.9 8 years ago
rtl8306.c kernel: rtl8306: fix port link status 7 years ago
rtl8366_smi.c generic: provide get_port_stats() on rtl836x switches 7 years ago
rtl8366_smi.h generic: provide get_port_stats() on rtl836x switches 7 years ago
rtl8366rb.c generic: provide get_port_stats() on rtl836x switches 7 years ago
rtl8366s.c generic: provide get_port_stats() on rtl836x switches 7 years ago
rtl8367.c generic: provide get_port_stats() on rtl836x switches 7 years ago
rtl8367b.c generic: provide get_port_stats() on rtl836x switches 7 years ago
swconfig.c linux/swconfig_get_attr: fix leak of msg in case of error 7 years ago
swconfig_leds.c generic: make switch_port_stats tx/rx_bytes long long 7 years ago