]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core: Add support for temperature thresholds reading for QSFP-DD transceivers
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 28 Jul 2020 10:20:16 +0000 (13:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jul 2020 20:28:02 +0000 (13:28 -0700)
commiteb029e9b731bbd0eab75fc7971c50ea8430a63be
tree6dd6fdef0df63cad7fb76f8eb1e6ceb9bfacbc94
parentb842f8dcc9df95e61c5ebc4061529c6c2450dbee
mlxsw: core: Add support for temperature thresholds reading for QSFP-DD transceivers

Allow QSFP-DD transceivers temperature thresholds reading for hardware
monitoring and thermal control.

For this type, the thresholds are located in page 02h according to the
"Module and Lane Thresholds" description from Common Management
Interface Specification.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_env.c
drivers/net/ethernet/mellanox/mlxsw/reg.h