diff options
author | Anjali Singhai Jain <anjali.singhai@intel.com> | 2015-01-24 09:58:40 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-02-23 17:11:58 -0800 |
commit | 9df42d1a8fd8ac137671e3e6c0c87ca2101d90e0 (patch) | |
tree | cf53f5e3f6c8a80811111c9d586189f5e5d55952 /drivers/net/ethernet/intel/i40e/i40e.h | |
parent | 5098850c9b9bdc6a1572ac9f39da84683fc5fbb0 (diff) | |
download | blackbird-op-linux-9df42d1a8fd8ac137671e3e6c0c87ca2101d90e0.tar.gz blackbird-op-linux-9df42d1a8fd8ac137671e3e6c0c87ca2101d90e0.zip |
i40e: Fix the EMPR interrupt received handling
We shouldn't trigger another EMPR when we receive an EMPR event.
This patch handles EMPR event reception with a different state
so that we can do the right thing for NVM.
Change-ID: I9cac70b3658600f016a65beb6fb157e1c1f9adf9
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h index 2b65cdcad6ba..5912fdf506a7 100644 --- a/drivers/net/ethernet/intel/i40e/i40e.h +++ b/drivers/net/ethernet/intel/i40e/i40e.h @@ -140,6 +140,7 @@ enum i40e_state_t { __I40E_CORE_RESET_REQUESTED, __I40E_GLOBAL_RESET_REQUESTED, __I40E_EMP_RESET_REQUESTED, + __I40E_EMP_RESET_INTR_RECEIVED, __I40E_FILTER_OVERFLOW_PROMISC, __I40E_SUSPENDED, __I40E_PTP_TX_IN_PROGRESS, |