OSDN Git Service

i40e: stop flow director on shutdown
authorMitch A Williams <mitch.a.williams@intel.com>
Sat, 21 Feb 2015 06:44:51 +0000 (06:44 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 26 Feb 2015 12:54:02 +0000 (04:54 -0800)
commit33c62b34e5a3d57eb8a487140ca46631fc76e10c
tree677e2c6d04a49c0cef495ab0085572fff6f52f0e
parente147758d9aef1e41dad331b21df206200cf16e80
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: I1bd9fc7fd8f151fe24cad132ac9adddab923e3af
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