Merge branch 'mlxsw-Hardware-monitoring-enhancements'
authorDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 19:59:53 +0000 (12:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 19:59:53 +0000 (12:59 -0700)
commit5b5d331a2c933268eae8da85df43279878392772
treed665334ebf0c4ec2659de6bdfc2d0c15e30d09c0
parent18a49727083a5a4e949f122aa392fefc8791df77
parente4e93d6d8651139d47dc947f75e55797d5ce186b
Merge branch 'mlxsw-Hardware-monitoring-enhancements'

Ido Schimmel says:

====================
mlxsw: Hardware monitoring enhancements

This patchset from Vadim provides various hardware monitoring related
improvements for mlxsw.

Patch #1 allows querying firmware version from the switch driver when
the underlying bus is I2C. This is useful for baseboard management
controller (BMC) systems that communicate with the ASIC over I2C.

Patch #2 improves driver's performance over I2C by utilizing larger
transactions sizes, if possible.

Patch #3 re-orders driver's initialization sequence to enforce a
specific firmware version before new firmware features are utilized.
This is a prerequisite for patches #4-#6.

Patches #4-#6 expose the temperature of inter-connect devices
(gearboxes) that are present in Mellanox SN3800 systems and split
2x50Gb/s lanes to 4x25Gb/s lanes.

Patches #7-#8 reduce the transaction size when reading SFP modules
temperatures, which is crucial when working over I2C.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>