]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix link test when connected to 1Gbps link partner
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 10 Jul 2013 02:47:24 +0000 (02:47 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 29 Aug 2013 09:58:04 +0000 (02:58 -0700)
commit6b4b408974173806b73728fded8643c3d6846cc0
tree31a420738e344fc3875af488c7d015898013fdff
parentcf8b0fb356b022cf5444b6d567b2b81c1971a386
ixgbe: fix link test when connected to 1Gbps link partner

This patch is a partial reverse of:
commit cf26280e6120cbbdb688cf10065cc44941dc88ce
Author: Jacob Keller <jacob.e.keller@intel.com>
Date: Thu Nov 8 07:07:08 2012 +0000

  ixgbe: ethtool ixgbe_diag_test cleanup

Specifically forcing the laser before the link check can lead to
inconsistent results because it does not guarantee that the link will be
negotiated correctly. Such is the case when dual speed SFP+ module is
connected to a gigabit link partner.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c