]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: minimal: Add ethtool support
authorVadim Pasternak <vadimp@mellanox.com>
Sun, 3 Mar 2019 09:12:10 +0000 (09:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2019 06:23:00 +0000 (22:23 -0800)
commit315bccf4656e1d5afc222548c5e4d716b55eb6d3
tree96b6f146f4e0ddf2c3f45a2b54e5369ff98bd819
parent9f40ec294b7e65f05f284c11071871c08afcb07f
mlxsw: minimal: Add ethtool support

The minimal driver is chip independent and uses I2C bus for chip access.
Its purpose is to support chassis management on systems equipped with
Mellanox switch ASICs. For example from BMC (Board Management
Controller) device.

Expose a dummy netdev for each front panel port and implement basic
ethtool operations to obtain QSFP/SFP module info through ethtool.

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/minimal.c