tn3399_openwrt/target/linux/ath79
Petr Štetiar 6648e9458f ath79: set mib-poll-interval on mdio0 attached ar83xx switch
Commit "generic: ar8216: add mib_poll_interval switch attribute" sets
mib-poll-interval as disabled by default (was set to 2s), so it makes
switch LEDs trigger disfunctional on devices which don't have
mib-poll-interval set.

So this patch sets mib-poll-interval to 500ms on devices which have
ar83xx switch connected to mdio0 bus, as the same value was set for
built in switches in 443fc9ac35 ("ath79: use ar8216 for builtin
switch").

Some measurements performed on TP-Link Archer C7-v5:

 mib-type=0, mib-poll-interval=500ms (10s pidstat)

  Average:  %usr %system  %guest   %wait    %CPU   CPU  Command
  Average:  0.00    1.93    0.00    0.00    1.93     -  kworker/0:2

  iperf3 (30s): 334 Mbits/sec

 mib-type=0, mib-poll-interval=2s (10s pidstat)

  Average:  %usr %system  %guest   %wait    %CPU   CPU  Command
  Average:  0.00    1.14    0.00    0.00    1.14     -  kworker/0:2

  iperf3 (30s): 334 Mbits/sec

So it seems like we get 4x faster LED refresh rate for additional 0.8%
CPU load.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-05-20 21:19:48 +02:00
..
base-files ath79: add support for TP-Link Archer D50 V1 2019-05-18 17:59:49 +02:00
dts ath79: set mib-poll-interval on mdio0 attached ar83xx switch 2019-05-20 21:19:48 +02:00
files ath79: ag71xx: Enable tx hang workaround for the rest of ar724x SoCs 2019-04-08 18:37:04 +02:00
generic ath79: add support for jjPlus JA76PF2 2019-03-18 20:43:09 +01:00
image ath79: add support for TP-Link Archer D50 V1 2019-05-18 17:59:49 +02:00
nand treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.118 2019-05-13 19:17:41 +02:00
patches-4.19 kernel: bump 4.19 to 4.19.42 2019-05-13 19:17:41 +02:00
tiny treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
config-4.14 ath79: add support for D-Link DIR-859 A1 2018-12-30 20:08:13 +01:00
config-4.19 ath79: add support for linux 4.19 2019-03-24 01:44:25 +01:00
Makefile build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
modules.mk