]> 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)
commit92f6e26a85c6c98a8be9872634e179627343122f
treee703d38c8451ce06aa5e97db1398e029e311e9ed
parent8c9453b2f339f26f828f253be1fb270e2b4f111a
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