]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6f0a0c20bde57f05faa0dfad6e8f4d93ed8dd19
treef959b7b4c974e8a7d1d356f5b77185ad4e020cc6
parent64463ed42b064395381d584f69591fc4adecd0d0
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