]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix the polling mechanism of GLGEN_RSTAT.DEVSTATE
authorPaweł Jabłoński <pawel.jablonski@intel.com>
Mon, 19 Mar 2018 16:28:04 +0000 (09:28 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Mar 2018 16:57:52 +0000 (09:57 -0700)
commit5e897c33ceb4c49b0cc8d55dbfbf1649c0bf030e
treee703d38c8451ce06aa5e97db1398e029e311e9ed
parent9e4044bb6acc43bbbc62c5e88b618aa32bab7943
i40e: Fix the polling mechanism of GLGEN_RSTAT.DEVSTATE

This fixes the polling mechanism of GLGEN_RSTAT.DEVSTATE in the
PF Reset path when Global Reset is in progress. While the driver
is polling for the end of the PF Reset and the Global Reset is
triggered, abandon the PF Reset path and prepare for the
upcoming Global Reset.

Signed-off-by: Paweł Jabłoński <pawel.jablonski@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