diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2019-04-11 21:45:45 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-05-20 21:17:57 +0200 |
commit | 01c0d7f86f68ec355bb87b755d52c3dcf9fe68bd (patch) | |
tree | 9fa36eddb60ec6cae21bf66bd7da664d3f018e53 /package/network | |
parent | 107dc4326ccfaff27bd1e698b8bc7fb942233559 (diff) | |
download | upstream-01c0d7f86f68ec355bb87b755d52c3dcf9fe68bd.tar.gz upstream-01c0d7f86f68ec355bb87b755d52c3dcf9fe68bd.tar.bz2 upstream-01c0d7f86f68ec355bb87b755d52c3dcf9fe68bd.zip |
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
d6366ce3665f ("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>
Diffstat (limited to 'package/network')
0 files changed, 0 insertions, 0 deletions