i40e: convert i40e_set_link_ksettings to new API
authorAlan Brady <alan.brady@intel.com>
Thu, 5 Oct 2017 21:53:44 +0000 (14:53 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 17 Oct 2017 17:48:51 +0000 (10:48 -0700)
commitcee919959b6193325f34223370650402dee34e30
treef959b7b4c974e8a7d1d356f5b77185ad4e020cc6
parent636b62d778302149216fad6aaa5e8d84c934a794
i40e: convert i40e_set_link_ksettings to new API

This finishes off the conversion to the new ethtool API by removing the
old macros being used in i40e_set_link_ksettings and replacing them with
shiny new ones.

This conversion also allows us to provide link speed support for new 25G
and 10G macros which is included here as well.

Signed-off-by: Alan Brady <alan.brady@intel.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