]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Keep ATU/VTU violation statistics
authorAndrew Lunn <andrew@lunn.ch>
Wed, 28 Mar 2018 21:50:28 +0000 (23:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Mar 2018 19:04:22 +0000 (15:04 -0400)
commite991e4f180f8bf0828a0aaa03c2d045ba6d25b78
tree9f2577306ba82031773faea60ffc8381c1ebc47a
parent3d14afefa6a1f19afa570707779d9ffc02b336ae
net: dsa: mv88e6xxx: Keep ATU/VTU violation statistics

Count the numbers of various ATU and VTU violation statistics and
return them as part of the ethtool -S statistics.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/global1_atu.c
drivers/net/dsa/mv88e6xxx/global1_vtu.c
drivers/net/dsa/mv88e6xxx/serdes.c
drivers/net/dsa/mv88e6xxx/serdes.h