]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_ethtool: Move mlxsw_sp_port_type_speed_ops structs
authorAmit Cohen <amitc@mellanox.com>
Mon, 29 Jun 2020 20:46:14 +0000 (23:46 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 00:45:02 +0000 (17:45 -0700)
commitec79d6dfd5150d5a77c53c54a5315777e4d7823e
tree16a978a5e8d024d4b9db786d0543a90b40efb78a
parenteec2d8a210de622cdd3a70071ab4101b3a247d4b
mlxsw: spectrum_ethtool: Move mlxsw_sp_port_type_speed_ops structs

Move mlxsw_sp1_port_type_speed_ops and mlxsw_sp2_port_type_speed_ops
with 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/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c