]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: always call setup_mac_link for multispeed fiber
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 17 May 2017 22:17:51 +0000 (15:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 May 2017 11:50:41 +0000 (04:50 -0700)
commitde153cc0b5c223273f42411ab29c04da204810f1
treeed055af78325a0281aa1984423ecc8c9eca195e7
parenta94624414fcf234a345bcb07caebeeebd312ea49
ixgbe: always call setup_mac_link for multispeed fiber

Remove the logic which would previously skip the link configuration
in the case where we are already at the requested speed in
ixgbe_setup_mac_link_multispeed_fiber().

By exiting early we are skipping the link configuration and as such
the driver may not always configure the PHY correctly for SFP+.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c