From: Emil Tantilov Date: Wed, 28 Jan 2015 03:21:18 +0000 (+0000) Subject: ixgbevf: Fix ordering of shutdown to correctly disable Rx and Tx X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~25^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9bdb57f9c9eee20835a947f2b9ece1ed2ef8485;p=pandora-kernel.git 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 Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed