linux/drivers/net/ethernet/intel/e1000e
Eliezer Tamir a60a132e89 e1000e: 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>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-03-20 17:42:43 -07:00
..
80003es2lan.c e1000e: Failure to write SHRA turns on PROMISC mode 2014-05-26 23:53:11 -07:00
80003es2lan.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
82571.c e1000e: remove unnecessary break after return 2014-07-20 21:30:18 -07:00
82571.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
defines.h e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
e1000.h e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
ethtool.c e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
hw.h e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
ich8lan.c e1000e: fix obscure comments 2015-03-06 02:47:07 -08:00
ich8lan.h e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
mac.c e1000e: remove unnecessary break after return 2014-07-20 21:30:18 -07:00
mac.h e1000e: Failure to write SHRA turns on PROMISC mode 2014-05-26 23:53:11 -07:00
Makefile e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
manage.c e1000e: delete excessive space character in debug message 2014-08-12 01:16:19 -07:00
manage.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
netdev.c e1000e: call netif_carrier_off early on down 2015-03-20 17:42:43 -07:00
nvm.c e1000e: Add code to check return values on NVM accesses 2014-07-25 20:51:00 -07:00
nvm.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
param.c e1000e: Cleanup to fix checkpatch missing blank lines 2014-04-23 01:05:08 -07:00
phy.c e1000e: Cleanup to fix checkpatch missing blank lines 2014-04-23 01:05:08 -07:00
phy.h e1000e: Workaround for dropped packets in Gig/100 speeds on 82579 2014-05-05 12:54:33 -07:00
ptp.c e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
regs.h e1000e: initial support for i219 2015-02-23 17:11:53 -08:00