diff options
author | Thibaut VARENE <hacks@slashdirt.org> | 2017-08-04 12:27:32 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-09-01 09:30:35 +0200 |
commit | 2b3ab0208eddadbf4413576eb57e608ee6e45d5c (patch) | |
tree | 715eb3aec8f7b08bba2a6b1e7f6d093782ef6dab /target/linux/generic/files/drivers/net/phy | |
parent | 7a423c389a162d2945901f0b5e7c604d36c64526 (diff) | |
download | upstream-2b3ab0208eddadbf4413576eb57e608ee6e45d5c.tar.gz upstream-2b3ab0208eddadbf4413576eb57e608ee6e45d5c.tar.bz2 upstream-2b3ab0208eddadbf4413576eb57e608ee6e45d5c.zip |
ramips: provide get_port_stats() on mt7530/762x switches
This patch provides a generic switch_dev_ops 'get_port_stats()' callback by
taping into the relevant port MIB counters.
This callback is used by swconfig_leds led trigger to blink LEDs with port
network traffic.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy')
0 files changed, 0 insertions, 0 deletions