[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210621075041.2502416-1-idosch@idosch.org>
Date: Mon, 21 Jun 2021 10:50:38 +0300
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, jiri@...dia.com,
vadimp@...dia.com, mlxsw@...dia.com,
Ido Schimmel <idosch@...dia.com>
Subject: [PATCH net-next 0/3] mlxsw: Add support for module EEPROM read by page
From: Ido Schimmel <idosch@...dia.com>
Add support for ethtool_ops::get_module_eeprom_by_page() operation.
Patch #1 adds necessary field in device register.
Patch #2 documents possible MCIA status values so that more meaningful
error messages could be returned to user space via extack.
Patch #3 adds the actual implementation.
Ido Schimmel (3):
mlxsw: reg: Add bank number to MCIA register
mlxsw: reg: Document possible MCIA status values
mlxsw: core: Add support for module EEPROM read by page
.../net/ethernet/mellanox/mlxsw/core_env.c | 74 +++++++++++++++++++
.../net/ethernet/mellanox/mlxsw/core_env.h | 7 ++
drivers/net/ethernet/mellanox/mlxsw/minimal.c | 13 ++++
drivers/net/ethernet/mellanox/mlxsw/reg.h | 20 +++++
.../mellanox/mlxsw/spectrum_ethtool.c | 14 ++++
5 files changed, 128 insertions(+)
--
2.31.1
Powered by blists - more mailing lists