diff options
author | 2020-09-27 10:50:14 +0300 | |
---|---|---|
committer | 2020-09-27 13:27:01 -0700 | |
commit | 05cf5828bc8e18fcff095222395e188766683409 (patch) | |
tree | bc5a66a4ba313e9fd876e3ccde8ae7a8efafd72e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mlxsw: spectrum: Initialize netdev's module overheat counter (diff) | |
download | wireguard-linux-05cf5828bc8e18fcff095222395e188766683409.tar.xz wireguard-linux-05cf5828bc8e18fcff095222395e188766683409.zip |
mlxsw: Update module's settings when module is plugged in
Module temperature warning events are enabled for modules that have a
temperature sensor and configured according to the temperature
thresholds queried from the module.
When a module is unplugged we are guaranteed not to get temperature
warning events. However, when a module is plugged in we need to
potentially update its current settings (i.e., event enablement and
thresholds).
Register to port module plug/unplug events and update module's settings
upon plug in events.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions