aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-03-27 03:12:10 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-03-27 05:57:43 -0400
commit63e18c252068da46ba5ab11ad8861c310afc79fd (patch)
treeced6eee0ce30c4993dde5a5782d0834eb1f9c576 /firmware
parente284fc88dfb6ceb69c547abb8d78b9fde6b9dc85 (diff)
i40evf: resequence close operations
Call the netdev carrier off and TX disable functions first, before other shutdown operations. This stops the stack from hitting us with transmits while we're shutting down. Additionally, disable NAPI before disabling interrupts, or the interrupt might get re-enabled inappropriately. Finally, remove the call to netif_tx_stop_all_queues, as it is redundant - the call to netif_tx_disable already did the same thing. Change-ID: I8b2dd25231b82817746cc256234a5eeeb4abaccc Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions