i40e: stop flow director on shutdown
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 31 Mar 2015 07:45:04 +0000 (00:45 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Apr 2015 10:54:31 +0000 (03:54 -0700)
commit3932dbfe1ecdcf05578cc6aca7ca1b6c6dbd311e
tree126f1c550d634c023d5c7c6f0ad7cd29ec02d1c9
parentc22c06c8d1b62cd2a42a8f276c7e72bc17067183
i40e: stop flow director on shutdown

In some cases, the hardware would continue to try to access the FDIR
ring after entering D3Hot state, which would cause either PCIe errors or
NMIs, depending upon system configuration.

Explicitly stop FDIR in our shutdown routine to eliminate this
possibility.

Change-ID: Ib98060d6352ec595ab9a78bfe252675a9fa5d8bc
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>
drivers/net/ethernet/intel/i40e/i40e_main.c