OSDN Git Service

ice: Reduce wait times during VF bringup/reset
authorBrett Creeley <brett.creeley@intel.com>
Thu, 25 Jul 2019 08:55:37 +0000 (01:55 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 20 Aug 2019 21:36:00 +0000 (14:36 -0700)
commit60d628ea27d29499d2f71817a6caf5b20b6e293a
treeb3813b97b10b93e2ca1e649ee79c2aa319a97b72
parent1337175deca72c3a1c846344d5743667a4dbedef
ice: Reduce wait times during VF bringup/reset

Currently there are a couple places where the VF is waiting too long when
checking the status of registers. This is causing the AVF driver to
spin for longer than necessary in the __IAVF_STARTUP state. Sometimes
it causes the AVF to go into the __IAVF_COMM_FAILED, which may retrigger
the __IAVF_STARTUP state. Try to reduce the chance of this happening by
removing unnecessary wait times in VF bringup/resets.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h