]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: mv88x6xxx: Add debugfs interface for statistics
authorAndrew Lunn <andrew@lunn.ch>
Sat, 20 Jun 2015 16:42:31 +0000 (18:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 13:33:41 +0000 (06:33 -0700)
commit4af4e19e0224a60448de8437da859066006509f3
treeffd0df90aeafe6af02ba64c59cd7386192c5a279
parent28b39bdbf95b19d68384bee73d79d0ece48c38d9
dsa: mv88x6xxx: Add debugfs interface for statistics

Allow the contents of the statistics counters to be shown in debugfs.
This is particularly useful for the cpu and dsa ports, which cannot be
seen using ethtools -S.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c