i40e: Fix FLR reset timeout issue
authorFilip Sadowski <filip.sadowski@intel.com>
Tue, 14 Nov 2017 12:00:49 +0000 (07:00 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 22 Nov 2017 07:36:05 +0000 (23:36 -0800)
commit94075bb1ed7c89cdf4c46eca3938ac4f087827af
tree0eb69e5d52f3d48afbcb617202ca3b86a69b87eb
parente56afa599609d3afe8b0ce24b553ab95e9782502
i40e: Fix FLR reset timeout issue

This patch allows detection of upcoming core reset in case NIC gets
stuck while performing FLR reset. The i40e_pf_reset() function returns
I40E_ERR_NOT_READY when global reset was detected.

Signed-off-by: Filip Sadowski <filip.sadowski@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_common.c