openwrtv4/target/linux/generic/files
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
..
arch/mips/fw/myloader
Documentation/networking kernel: drop dead pwm code 2013-08-18 01:25:41 +00:00
drivers generic: drop support for get_port_stats() on ar8xxx 2017-09-13 08:07:54 +02:00
include generic: make switch_port_stats tx/rx_bytes long long 2017-09-01 09:30:35 +02:00