summaryrefslogtreecommitdiff
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2015-12-23 13:23:17 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-23 22:17:00 -0500
commitf5e2ed022dff60d9023d997ed719531129cc1365 (patch)
treebeaf0d9429a8e5b02828e7fffa978a2c1fea70c6 /drivers/net/bonding
parentff5756d0d324b8215c3a498d398071094462f395 (diff)
dsa: mv88e6xxx: Add Second back of statistics
The 6320 family of switch chips has a second bank for statistics, but is missing three statistics in the port registers. Generalise and extend the code: * adding a field to the statistics table indicating the bank/register set where each statistics is. * add a function indicating if an individual statistics is available on this device * calculate at run time the sset_count. * return strings based on the available statistics of the device * return statistics based on the available statistics of the device * Add support for reading from the second bank. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions