]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix the EMPR interrupt received handling
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Sat, 24 Jan 2015 09:58:40 +0000 (09:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 24 Feb 2015 01:11:58 +0000 (17:11 -0800)
commitde6bbc308244938cc9d7847df083ae28a3aa1251
treecf53f5e3f6c8a80811111c9d586189f5e5d55952
parent8ca63b438c5575f08f0e6f265a65d99fabac7fec
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>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c