]> asedeno.scripts.mit.edu Git - linux.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)
commit65f60e4582bd321f4df1433a22f717f18e60f721
tree9f2577306ba82031773faea60ffc8381c1ebc47a
parent7ae665f132a62e67ccef1ef0994acba51abc2400
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