netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] mlxsw: Add support for module EEPROM read by page
@ 2021-06-21  7:50 Ido Schimmel
  2021-06-21  7:50 ` [PATCH net-next 1/3] mlxsw: reg: Add bank number to MCIA register Ido Schimmel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ido Schimmel @ 2021-06-21  7:50 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, jiri, vadimp, mlxsw, Ido Schimmel

From: Ido Schimmel <idosch@nvidia.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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-21 19:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21  7:50 [PATCH net-next 0/3] mlxsw: Add support for module EEPROM read by page Ido Schimmel
2021-06-21  7:50 ` [PATCH net-next 1/3] mlxsw: reg: Add bank number to MCIA register Ido Schimmel
2021-06-21  7:50 ` [PATCH net-next 2/3] mlxsw: reg: Document possible MCIA status values Ido Schimmel
2021-06-21  7:50 ` [PATCH net-next 3/3] mlxsw: core: Add support for module EEPROM read by page Ido Schimmel
2021-06-21 19:50 ` [PATCH net-next 0/3] mlxsw: " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).