summaryrefslogtreecommitdiff
path: root/net/l2tp/l2tp_core.h
diff options
context:
space:
mode:
authorAmit Cohen <amitc@mellanox.com>2020-09-03 16:41:46 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-03 22:12:05 +0300
commit91df5d3a72e33446556b49c9b272e89baeec6cd8 (patch)
tree7f7acb33c231bf7d73c8def0d4d025727ea3a595 /net/l2tp/l2tp_core.h
parent02bed4e8b705284b593948676ebe1c6629dc5895 (diff)
downloadlinux-91df5d3a72e33446556b49c9b272e89baeec6cd8.tar.xz
mlxsw: core_hwmon: Extend hwmon interface with critical and emergency alarms
Add new attributes to hwmon object for exposing critical and emergency alarms. In case that current temperature is higher than emergency threshold, EMERGENCY alarm will be reported in sensors utility: $ sensors ... front panel 025: +55.0°C (crit = +35.0°C, emerg = +40.0°C) ALARM(EMERGENCY) In case that current temperature is higher than critical threshold, CRIT alarm will be reported in sensors utility: $ sensors ... front panel 025: +54.0°C (crit = +35.0°C, emerg = +80.0°C) ALARM(CRIT) Signed-off-by: Amit Cohen <amitc@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Acked-by: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.h')
0 files changed, 0 insertions, 0 deletions