i40e: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 4 Feb 2017 21:05:06 +0000 (22:05 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 18 Mar 2017 02:18:04 +0000 (19:18 -0700)
commita7f909405bf9bd3a737a39d3a433a4eae4d7eb21
tree72f54f4bb9db5892000cbac8fd4d0f727a4e34b7
parentfe723dff0fa4181ddb8116e72bc67d00d4239cb6
i40e: use new api ethtool_{get|set}_link_ksettings

The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.

As I don't have the hardware, I'd be very pleased if
someone may test this patch.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c