1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 22:18:16 +02:00
openwrt/target/linux
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
..
apm821xx apm821xx: WNDR4700: remove obsolete sd-card change detection 2019-05-19 12:29:24 +02:00
ar7
ar71xx ar71xx: Fix network setup for TP-Link Archer C25 v1 2019-05-15 13:34:24 +02:00
arc770
archs38
armvirt kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
at91 kernel: Activate CONFIG_SYN_COOKIES for all targets 2019-05-11 17:15:41 +02:00
ath25
ath79 ath79: set mib-poll-interval on mdio0 attached ar83xx switch 2019-05-20 21:19:48 +02:00
bcm53xx
brcm47xx
brcm63xx brcm63xx: fixup broken patch after kernel bump 2019-05-14 13:15:11 +02:00
brcm2708 kernel: bump 4.14 to 4.14.118 2019-05-13 19:17:41 +02:00
cns3xxx kernel: bump 4.19 to 4.19.42 2019-05-13 19:17:41 +02:00
gemini gemini: Fix up firmware checksum on DIR-685 2019-05-18 16:37:30 +02:00
generic generic: ar8216: group MIB counters and use two basic ones only by default 2019-05-20 21:17:57 +02:00
imx6 kernel: Move some DSA config options to generic config 2019-05-14 21:11:58 +02:00
ipq40xx ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
ipq806x mtd: base-files: Unify dual-firmware devices (Linksys) 2019-05-18 13:43:51 +02:00
ixp4xx
kirkwood mtd: base-files: Unify dual-firmware devices (Linksys) 2019-05-18 13:43:51 +02:00
lantiq lantiq/xrx200: enable initramfs images 2019-05-15 13:34:23 +02:00
layerscape kernel: bump 4.14 to 4.14.118 2019-05-13 19:17:41 +02:00
malta malta: Deactivate MIPS O32 and N32 support 2019-05-14 21:50:42 +02:00
mediatek kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
mpc85xx
mvebu mtd: base-files: Unify dual-firmware devices (Linksys) 2019-05-18 13:43:51 +02:00
mxs
octeon octeon: Deactivate MIPS O32 and N32 support 2019-05-14 21:50:42 +02:00
octeontx kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
omap kernel: Deactivate CONFIG_BINFMT_MISC 2019-05-11 17:15:41 +02:00
orion
oxnas
pistachio
ramips ramips: add support for Telco Electronics X1 2019-05-18 17:59:49 +02:00
rb532
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 2019-05-11 17:15:41 +02:00
sunxi kernel: Deactivate CONFIG_BINFMT_MISC 2019-05-11 17:15:41 +02:00
tegra tegra: add vendor string to device name 2019-05-15 13:34:23 +02:00
uml kernel: Deactivate CONFIG_BINFMT_MISC 2019-05-11 17:15:41 +02:00
x86 x86: Activate CONFIG_X86_SMAP 2019-05-11 17:15:41 +02:00
zynq zynq: make title consistent for all devices 2019-05-17 21:41:43 +02:00
Makefile