diff options
author | 2015-12-23 13:23:17 +0100 | |
---|---|---|
committer | 2015-12-23 22:17:00 -0500 | |
commit | f5e2ed022dff60d9023d997ed719531129cc1365 (patch) | |
tree | beaf0d9429a8e5b02828e7fffa978a2c1fea70c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'sfc-vf' (diff) | |
download | linux-dev-f5e2ed022dff60d9023d997ed719531129cc1365.tar.xz linux-dev-f5e2ed022dff60d9023d997ed719531129cc1365.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions