summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2015-01-28 03:21:18 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-02-05 19:58:44 -0800
commitd9bdb57f9c9eee20835a947f2b9ece1ed2ef8485 (patch)
tree01cd7c22a8f8b0b752d036421c69eba203174f52 /drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
parent39f35a370b59d65506bbfb8f9c1b9362d58b44fe (diff)
downloadop-kernel-dev-d9bdb57f9c9eee20835a947f2b9ece1ed2ef8485.zip
op-kernel-dev-d9bdb57f9c9eee20835a947f2b9ece1ed2ef8485.tar.gz
ixgbevf: Fix ordering of shutdown to correctly disable Rx and Tx
This patch updates the ordering of the shutdown path so that we attempt to shutdown the rings more gracefully. Basically the big changes are that we shutdown the main Rx filter in the case of Rx and we set the carrier_off state in the case of Tx so that packets stop being delivered from outside the driver. Then we shut down interrupts and NAPI. Finally we stop the rings from performing DMA and clean them. This is a bit more graceful than the previous path. CC: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/ixgbevf.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud