aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2020-09-27 10:50:10 +0300
committerDavid S. Miller <[email protected]>2020-09-27 13:27:00 -0700
commit0652ac07756588d6f1aa8419f569b5894a149d6e (patch)
treed30b0b3ab5bf00f1009a8f430e32c4ca44845108 /tools/perf/scripts/python
parentfb1292f821cce8df765be15b2a1b8ebe9a6e304e (diff)
mlxsw: core: Add an infrastructure to track transceiver overheat counter
Initialize an array that stores per-module overheat state and a counter indicating how many times the module was in overheat state. Export a function to query the counter according to module number. Will be used later on by the switch driver (i.e., mlxsw_spectrum) to expose module's overheat counter as part of ethtool statistics. Initialize mlxsw_env after driver initialization to be able to query number of modules from MGPIR register. Signed-off-by: Amit Cohen <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions