commit | 784401bfc0b22b5521492047884e8d834de4dfab | [log] [tgz] |
---|---|---|
author | Todd Fujinaka <todd.fujinaka@intel.com> | Fri Mar 20 17:41:54 2015 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Mar 20 17:45:12 2015 -0700 |
tree | 361d74098296cab17a2727d79e39ed61dd43d68d | |
parent | f28ea083a3d21abec434f429f1375b3639b234c4 [diff] |
igbvf: use netif_carrier_off earlier when bringing if down Use netif_carrier_off() first, since that will prevent the stack from queuing more packets to this IF. This operation is fast, and should behave much nicer when trying to bring down an interface under load. Reported-by: Eliezer Tamir <eliezer.tamir@linux.intel.com> Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>