linux/drivers/net/ethernet/intel/ixgb
Eliezer Tamir d9d888b8b0 ixgb: call netif_carrier_off early on down
When bringing down an interface netif_carrier_off() should be
one the first things we do, since this will prevent the stack
from queuing more packets to this interface.
This operation is very fast, and should make the device behave
much nicer when trying to bring down an interface under load.

Also, this would Do The Right Thing (TM) if this device has some
sort of fail-over teaming and redirect traffic to the other IF.

Move netif_carrier_off as early as possible.

Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-03-20 17:41:52 -07:00
..
ixgb_ee.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
ixgb_ee.h ixgb: eliminate checkstack warnings 2011-09-23 13:55:25 -04:00
ixgb_ethtool.c net: use SPEED_UNKNOWN and DUPLEX_UNKNOWN when appropriate 2014-06-06 16:24:07 -07:00
ixgb_hw.c ixgb: use PCI_VENDOR_ID_INTEL 2012-07-20 10:59:41 -07:00
ixgb_hw.h intel: Remove extern from function prototypes 2013-09-24 12:51:37 -07:00
ixgb_ids.h ixgb: use PCI_VENDOR_ID_INTEL 2012-07-20 10:59:41 -07:00
ixgb_main.c ixgb: call netif_carrier_off early on down 2015-03-20 17:41:52 -07:00
ixgb_osdep.h ixgb: eliminate checkstack warnings 2011-09-23 13:55:25 -04:00
ixgb_param.c net/intel: remove __dev* attributes 2012-12-03 11:17:07 -08:00
ixgb.h drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
Makefile