]> 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)
commite5136d478f0f73755ab6bf2457617194476673fa
tree6dd6fdef0df63cad7fb76f8eb1e6ceb9bfacbc94
parentd215b143e1b716e8dcbd49a49b0eddf7f7002cc9
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