mlxsw: spectrum: Add support for new ethtool API
authorIdo Schimmel <idosch@mellanox.com>
Mon, 12 Sep 2016 11:26:27 +0000 (13:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Sep 2016 16:16:34 +0000 (12:16 -0400)
commitb9d66a36aa7737d0f975d99aabc200b7496e26b8
tree25724742c981db8a0a1a3b20fcd2893be8fba8d4
parent91bdc7a43ac7cfe044caa5ab7e74dca114f15904
mlxsw: spectrum: Add support for new ethtool API

Remove the deprecated {get,set}_settings callbacks and instead add
{get,set}_link_ksettings along with support for newly available speeds.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.c