[Intel-wired-lan] [PATCH v1 09/18] fm10k: wait for queues to drain fully before stop_hw

Keller, Jacob E jacob.e.keller at intel.com
Mon Jun 6 17:38:27 UTC 2016


On Fri, 2016-06-03 at 15:42 -0700, Jacob Keller wrote:
> It turns out that VFs also suffer from the same queue issue as PFs,
> and
> can't simply perform a datapath reset. Add a looping delay for
> queueus
> which will sleep and then check the queues to see if they are drained
> before calling stop_hw. If they take longer than 50 loops (~500ms,
> longest delay I found necessary while testing), issue a dev_err
> message
> and continue with the reset. For PFs, this should trigger a datapath
> reset and a recovery. For VFs this will likely cause the VF to be
> stuck
> and need re-creating. Unfortunately there isn't anything else the
> driver
> can do in response.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
It looks like after some testing, this patch may need changes.

Thanks,
Jake


More information about the Intel-wired-lan mailing list