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)
commitf4f1040ae63c7c40ef24c1892d32ceae46d9ea05
treec1150e7996513235d93fec07be88c85649526402
parentcc328deac5a5f576aa79d87cfacf01e370e5e03e
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