ixgbevf: Link lost in VM on ixgbevf when restoring from freeze or suspend
This patch fixed issue in VM which shows no link when hypervisor is restored from low-power state. The driver is responsible for re-enabling any features of the device that had been disabled during suspend calls, such as IRQs and bus mastering. Signed-off-by: Radoslaw Tyl <radoslawx.tyl@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
2410a3dad4
commit
d7cb9da186
@ -2517,6 +2517,7 @@ void ixgbevf_reinit_locked(struct ixgbevf_adapter *adapter)
|
|||||||
msleep(1);
|
msleep(1);
|
||||||
|
|
||||||
ixgbevf_down(adapter);
|
ixgbevf_down(adapter);
|
||||||
|
pci_set_master(adapter->pdev);
|
||||||
ixgbevf_up(adapter);
|
ixgbevf_up(adapter);
|
||||||
|
|
||||||
clear_bit(__IXGBEVF_RESETTING, &adapter->state);
|
clear_bit(__IXGBEVF_RESETTING, &adapter->state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user