]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Fix 1G and 10G link stability for X550EM_x SFP+
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:18:33 +0000 (16:18 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 12 Oct 2015 16:05:01 +0000 (09:05 -0700)
commitf8906d594cdc6c98383a9d63c1ae121e2caa5371
treef0ecec105a9f4ad68c97d628486c725236f5a376
parentd95fd2e3fd336914f3109c40e6291703de1778df
ixgbe: Fix 1G and 10G link stability for X550EM_x SFP+

Orabug: 21918732

Configures the CS4227 correctly for both 1G and 10G operation,
by moving the code to ixgbe_setup_mac_link_sfp_x550em(). It
needs to be in this function because we need both the module
type and the speed, and this is the only function in the init
flow that knows the speed. In contrast,
ixgbe_setup_sfp_modules_X550em() does not know the speed, so we
can't do anything useful here. This is a fundamental difference
from the previous flow, and is due to the way the CS4227 is
implemented.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit e23f33367882450c66f7de8805b98ce7665a7ba9)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c