[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190529084722.22719-1-idosch@idosch.org>
Date: Wed, 29 May 2019 11:47:14 +0300
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...lanox.com, vadimp@...lanox.com,
mlxsw@...lanox.com, Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH net-next 0/8] mlxsw: Hardware monitoring enhancements
From: Ido Schimmel <idosch@...lanox.com>
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.
Ido Schimmel (1):
mlxsw: core: Re-order initialization sequence
Vadim Pasternak (7):
mlxsw: i2c: Extend initialization with querying firmware info
mlxsw: i2c: Allow flexible setting of I2C transactions size
mlxsw: reg: Extend sensor index field size of Management Temperature
Register
mlxsw: reg: Add Management General Peripheral Information Register
mlxsw: core: Extend hwmon interface with inter-connect temperature
attributes
mlxsw: core: Extend the index size for temperature sensors readout
mlxsw: core: Reduce buffer size in transactions for SFP modules
temperature readout
drivers/net/ethernet/mellanox/mlxsw/core.c | 21 +--
.../net/ethernet/mellanox/mlxsw/core_env.c | 27 +---
.../net/ethernet/mellanox/mlxsw/core_hwmon.c | 135 +++++++++++++-----
.../ethernet/mellanox/mlxsw/core_thermal.c | 46 +++---
drivers/net/ethernet/mellanox/mlxsw/i2c.c | 76 +++++++---
drivers/net/ethernet/mellanox/mlxsw/minimal.c | 18 +++
drivers/net/ethernet/mellanox/mlxsw/reg.h | 62 +++++++-
7 files changed, 274 insertions(+), 111 deletions(-)
--
2.20.1
Powered by blists - more mailing lists