net/mlx4_en: Use PTYS register to set ethtool settings (Speed)
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Oct 2014 09:37:41 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:18:00 +0000 (17:18 -0400)
commitd48b3ab4c0e4356f3b1ccaea8cb838cf1292f7da
tree70b6ae277c9a0df191d046c19f0d7e53e035559d
parent2c762679435dc812b7031ef9a839b901827294a9
net/mlx4_en: Use PTYS register to set ethtool settings (Speed)

Added Support to set speed or advertised link modes via ethtool:
ethtool -s <ifname> [speed <speed>] [advertise <link modes>]

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c