i40e: Check for new arq elements before leaving the adminq subtask loop
authorChristopher N Bednarz <christopher.n.bednarz@intel.com>
Fri, 10 Mar 2017 20:22:03 +0000 (12:22 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 Mar 2017 09:15:06 +0000 (02:15 -0700)
commit1fca3265be916f45bcdf4f0207bcc99d0f6c1b7d
treef7cb082f55d28c7438a04badd7b566112e784d47
parent6030308ef8e5917da2f606abdbb893435d119b28
i40e: Check for new arq elements before leaving the adminq subtask loop

Fix a case where we miss an arq element if a new one is added before we
enable interrupts and exit the arq subtask loop. This occurs frequently
with RDMA running on Windows VF and causes long delays that prevent SMB
from establishing connections.

Change-ID: I3e1c8b2b960c12857d9b8275bea2c1563674392e
Signed-off-by: Christopher N Bednarz <christopher.n.bednarz@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c