openwrt/target/linux/generic/files/drivers/net/phy
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
..
b53 kernel: b53: add support for kernels 5.0+ 2019-04-04 11:35:53 +02:00
adm6996.c generic: provide get_port_stats() on adm6996 switches 2017-09-01 09:30:35 +02:00
adm6996.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
ar8216.c generic: ar8216: group MIB counters and use two basic ones only by default 2019-05-20 21:17:57 +02:00
ar8216.h generic: ar8216: group MIB counters and use two basic ones only by default 2019-05-20 21:17:57 +02:00
ar8327.c generic: ar8216: group MIB counters and use two basic ones only by default 2019-05-20 21:17:57 +02:00
ar8327.h kernel: ar83xx: Add support for three GMAC's connection 2018-12-06 08:15:27 +01:00
ip17xx.c ip17xx: correct aneg_done return value 2017-06-07 11:06:29 +02:00
mvsw61xx.c kernel: add mv88e61xx switch port-mirroring support 2018-12-16 00:57:20 +01:00
mvsw61xx.h kernel: add mv88e61xx switch port-mirroring support 2018-12-16 00:57:20 +01:00
mvswitch.c mvswitch: fix autonegotiation issue 2017-06-07 11:06:12 +02:00
mvswitch.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
psb6970.c kernel: update phy drivers for 4.9 2017-02-03 12:35:44 +01:00
rtl8306.c kernel: generic: Add kernel 4.14 support 2017-12-16 22:11:19 +01:00
rtl8366_smi.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8366_smi.h kernel: rtl8366-smi: add Realtek switch management via mii-bus 2018-06-25 20:52:18 +02:00
rtl8366rb.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8366s.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8367.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8367b.c generic: rtl8367b: make it possible to specify cpu_port via DT 2018-11-26 12:05:46 +01:00
swconfig_leds.c kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
swconfig.c swconfig: convert swdevs_lock from spinlock to mutex 2018-03-12 12:50:46 +01:00