]> 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)
commita2103efe525c2e206e7505f1981a649f887b4e3d
tree31a420738e344fc3875af488c7d015898013fdff
parent3c8bc7ca325874fbaaca02f08cf7d97c7002faa2
ixgbe: fix link test when connected to 1Gbps link partner

This patch is a partial reverse of:
commit 1aafd339c13a897952ded64bac29cc4bc8ac2770
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