]> 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)
commit9bcbbc72a526bd8880c9c645585a7931d4fde365
treeed055af78325a0281aa1984423ecc8c9eca195e7
parent130d8c927fa4cc4261d1f16dbb2f38d283ecda6a
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