i40e: Handle admin Q timeout when releasing NVM
authorPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Tue, 20 Jun 2017 22:16:55 +0000 (15:16 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 26 Jul 2017 10:25:19 +0000 (03:25 -0700)
commit981e25c32bc22bcaa429420c92bfec860008a1eb
treec622f3aa491da6cb420e361d8194271841d688cb
parent4d5957cbdecdbb77d24c1465caadd801c07afa4a
i40e: Handle admin Q timeout when releasing NVM

There are some rare cases where the release resource call will return an
admin Q timeout. In these cases the code needs to try to release the
resource again until it succeeds or it times out.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@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_nvm.c