mlxsw: Move ethtool_ops to spectrum_ethtool.c
authorAmit Cohen <amitc@mellanox.com>
Mon, 29 Jun 2020 20:46:13 +0000 (23:46 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 00:45:02 +0000 (17:45 -0700)
commit614d509aa1e7854381465e9645aa5ee565a6c890
tree120ff89f39a208337ab3a20a44cc09c2f184e785
parenta2af44b64c8a60f9aba90e72b1ff872ab6a6dd6b
mlxsw: Move ethtool_ops to spectrum_ethtool.c

Add spectrum_ethtool.c file for ethtool code.
Move ethtool_ops and the relevant code from spectrum.c to
spectrum_ethtool.c.

Signed-off-by: Amit Cohen <amitc@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/Makefile
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c [new file with mode: 0644]