[Mellanox] Add high threshold and high critical threshold support for gearbox (#6206)
- Why I did it Add high threshold and high critical threshold support for gearbox - How I did it Read gearbox thermal related threshold from sysfs
This commit is contained in:
parent
00cea080af
commit
6348248138
@ -80,8 +80,8 @@ thermal_api_handler_psu = {
|
||||
}
|
||||
thermal_api_handler_gearbox = {
|
||||
THERMAL_API_GET_TEMPERATURE:"gearbox{}_temp_input",
|
||||
THERMAL_API_GET_HIGH_THRESHOLD:None,
|
||||
THERMAL_API_GET_HIGH_CRITICAL_THRESHOLD:None
|
||||
THERMAL_API_GET_HIGH_THRESHOLD:"mlxsw-gearbox{}/temp_trip_hot",
|
||||
THERMAL_API_GET_HIGH_CRITICAL_THRESHOLD:"mlxsw-gearbox{}/temp_trip_crit"
|
||||
}
|
||||
thermal_ambient_apis = {
|
||||
THERMAL_DEV_ASIC_AMBIENT : thermal_api_handler_asic,
|
||||
|
Loading…
Reference in New Issue
Block a user