openwrt/target
Chuanhong Guo 01c0d7f86f generic: ar8216: group MIB counters and use two basic ones only by default
There are too many MIB counters that almost nobody needs since commit
d6366ce366 ("generic: ar8216: mib_work_func: read all port mibs
everytime").

In the worker function to poll MIB data, it deals with all ports instead
of only one port every time, which introduces too many mdio operations
that it becomes a heavy CPU load even on not-emulated MDIO bus.

This commit groups MIB counters and enable only TxBytes and RxGoodBytes
by default (both of which are necessary to get swconfig led working.)
and adds an swconfig attribute to allow enabling all counters if users
need them.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2019-05-20 21:17:57 +02:00
..
imagebuilder imagebuilder: new DISABLED_SERVICES make variable 2019-05-15 13:34:24 +02:00
linux generic: ar8216: group MIB counters and use two basic ones only by default 2019-05-20 21:17:57 +02:00
sdk sdk: fix building external modules when CONFIG_STACK_VALIDATION=y 2019-04-26 13:05:39 +00:00
toolchain merge: etc: update remaining files 2017-12-08 19:41:18 +01:00
Config.in build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00