mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 14:17:43 +00:00
i40e: For VF reset (VFR and VFLR) add some more delay
With a HW issue that was recently discovered, after a VFLR HW might be indicating to us a reset completion little too early. So wait another 10 msec for cache to be cleaned up. Change-ID: I6a24dcf5dd7ffcd6500246e717411ef58532d1e9 Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
532b045588
commit
57175ac198
1 changed files with 3 additions and 0 deletions
|
@ -812,6 +812,9 @@ void i40e_reset_vf(struct i40e_vf *vf, bool flr)
|
|||
}
|
||||
}
|
||||
|
||||
if (flr)
|
||||
usleep_range(10000, 20000);
|
||||
|
||||
if (!rsd)
|
||||
dev_err(&pf->pdev->dev, "VF reset check timeout on VF %d\n",
|
||||
vf->vf_id);
|
||||
|
|
Loading…
Add table
Reference in a new issue