i40evf: resend FW request if no response
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 4 Jun 2014 04:22:41 +0000 (04:22 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 26 Jun 2014 11:44:59 +0000 (04:44 -0700)
commit56f9920a952130a7cd20952b3525bc238a87e489
tree760e89d5e73adb596b214ff6c57df1d284e89d57
parent3f2ab1721f77935eb4ee50b78c6ecfe24b3a2648
i40evf: resend FW request if no response

Sometimes the firmware will not indicate an error but fail to pass a
message between the VF and the PF driver. If this happens, just resend
the request.

This fixes an initialization failure if many VFs are instantiated at the
same time and the VF module is autoloaded.

Change-ID: Idd1ad8da2fd5137859244685c355941427d317d7
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c