Thibaut VARENE 4d8a66d934 generic: provide get_port_stats() on ar8xxx switches
This patch provides a generic switch_dev_ops 'get_port_stats()' callback by
taping into the relevant port MIB counters.

The implementation uses a generic callback that select the correct MIB counter
index based on chip version.

This callback is used by swconfig_leds led trigger to blink LEDs with port
network traffic.

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
2017-09-01 09:30:35 +02:00
..
2017-01-13 17:12:40 +01:00
2017-01-13 17:12:40 +01:00
2017-06-07 11:06:12 +02:00
2017-02-03 12:35:44 +01:00
2017-02-03 12:35:44 +01:00
2016-11-19 17:57:04 +01:00
2016-11-19 17:57:04 +01:00