]> 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)
commit79110c97e421fa307d282fb888f4d08edbc8f07c
treeffd0df90aeafe6af02ba64c59cd7386192c5a279
parentdce3072a367682ed4ba112510e53364971d801e6
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