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.
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>
5 years ago
..
b53 kernel: b53: add support for kernels 5.0+ 5 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: ar8216: group MIB counters and use two basic ones only by default 5 years ago
ar8216.h generic: ar8216: group MIB counters and use two basic ones only by default 5 years ago
ar8327.c generic: ar8216: group MIB counters and use two basic ones only by default 5 years ago
ar8327.h kernel: ar83xx: Add support for three GMAC's connection 6 years ago
ip17xx.c ip17xx: correct aneg_done return value 7 years ago
mvsw61xx.c kernel: add mv88e61xx switch port-mirroring support 6 years ago
mvsw61xx.h kernel: add mv88e61xx switch port-mirroring support 6 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 7 years ago
rtl8306.c kernel: generic: Add kernel 4.14 support 7 years ago
rtl8366_smi.c generic: rtl836x: support defered probe on mdio-bus 6 years ago
rtl8366_smi.h kernel: rtl8366-smi: add Realtek switch management via mii-bus 6 years ago
rtl8366rb.c generic: rtl836x: support defered probe on mdio-bus 6 years ago
rtl8366s.c generic: rtl836x: support defered probe on mdio-bus 6 years ago
rtl8367.c generic: rtl836x: support defered probe on mdio-bus 6 years ago
rtl8367b.c generic: rtl8367b: make it possible to specify cpu_port via DT 6 years ago
swconfig.c swconfig: convert swdevs_lock from spinlock to mutex 6 years ago
swconfig_leds.c kernel: Make the patches apply on top of 4.19 6 years ago