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)
commit532c7a353fce6b1866865cd52691934b4630cccd
treeffd0df90aeafe6af02ba64c59cd7386192c5a279
parent80c4627b2719da6b90891d8f83251528416900e7
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