commit | 436fe17d273bed9fd8b7bdf4172ea6d9eac0b703 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Thu Mar 01 02:02:29 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 04 13:34:18 2018 -0500 |
tree | e3ebcf6c2f0bd7757328b0e3e576004c53f83d50 | |
parent | c6c8cd5e3ce494419d8894d6a96aa17375b83ca2 [diff] |
net: dsa: mv88e6xxx: Allow the SERDES interfaces to have statistics When gettting the number of statistics, the strings and the actual statistics, call the SERDES ops if implemented. This means the stats code needs to return the number of strings/stats they have placed into the data, so that the SERDES strings/stats can follow on. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>