mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -2517,6 +2517,7 @@ void ixgbevf_reinit_locked(struct ixgbevf_adapter *adapter)
|
|||
msleep(1);
|
||||
|
||||
ixgbevf_down(adapter);
|
||||
pci_set_master(adapter->pdev);
|
||||
ixgbevf_up(adapter);
|
||||
|
||||
clear_bit(__IXGBEVF_RESETTING, &adapter->state);
|
||||
|
|
Loading…
Add table
Reference in a new issue