Re: [PATCH v2] net: marvell: skge: use new api ethtool_{get|set}_link_ksettings

From: David Miller
Date: Tue Jan 17 2017 - 11:47:32 EST


From: Philippe Reynes <tremyfr@xxxxxxxxx>
Date: Mon, 16 Jan 2017 22:46:08 +0100

> The ethtool api {get|set}_settings is deprecated.
> We move this driver to new api {get|set}_link_ksettings.
>
> The callback set_link_ksettings no longer update the value
> of advertising, as the struct ethtool_link_ksettings is
> defined as const.
>
> As I don't have the hardware, I'd be very pleased if
> someone may test this patch.
>
> Signed-off-by: Philippe Reynes <tremyfr@xxxxxxxxx>
> ---
> Changelog:
> v2:
> - update the commit log with a note to explain that this code
> was not tested on hardware (feedback from Stephen Hemminger)

Applied.