]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: disable link when adapter goes down
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 25 Jun 2013 07:59:23 +0000 (07:59 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 29 Aug 2013 09:39:26 +0000 (02:39 -0700)
commite37c8ec5bc7748e70b7eec92e8181af36eda48dc
treec1150e7996513235d93fec07be88c85649526402
parent21d0fe4f38422a35a5ecf0cdc7737851510366ca
ixgbe: disable link when adapter goes down

This patch fixes an issue with the 82599 adapter where it can potentially keep
link lights up when the adapter has gone down. The patch adds a function which
ensures link is disabled, and calls this function when the adapter transitions
to a down state.

Signed-off-by: Jacob Keller <jacob.e.keller@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_82599.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h