]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f043cc1e5b76a0f487ceabaee7e2e2643028855
treeb3813b97b10b93e2ca1e649ee79c2aa319a97b72
parentd3e5037419ed259d5e7749f7cb67dcacc210fb33
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