summaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@nvidia.com>2021-01-08 16:52:09 +0200
committerJakub Kicinski <kuba@kernel.org>2021-01-09 16:25:10 -0800
commit57726ebe2733891c9f59105eff028735f73d05fb (patch)
treefad00833e299e3aa8fdd94034529329181ee015e /drivers/net/netdevsim
parentb77413446408fdd256599daf00d5be72b5f3e7c6 (diff)
downloadlinux-stable-57726ebe2733891c9f59105eff028735f73d05fb.tar.gz
linux-stable-57726ebe2733891c9f59105eff028735f73d05fb.tar.bz2
linux-stable-57726ebe2733891c9f59105eff028735f73d05fb.zip
mlxsw: core: Add validation of transceiver temperature thresholds
Validate thresholds to avoid a single failure due to some transceiver unreliability. Ignore the last readouts in case warning temperature is above alarm temperature, since it can cause unexpected thermal shutdown. Stay with the previous values and refresh threshold within the next iteration. This is a rare scenario, but it was observed at a customer site. Fixes: 6a79507cfe94 ("mlxsw: core: Extend thermal module with per QSFP module thermal zones") Signed-off-by: Vadim Pasternak <vadimp@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/netdevsim')
0 files changed, 0 insertions, 0 deletions