Skip to content

Commit

Permalink
ixgbevf: Link lost in VM on ixgbevf when restoring from freeze or sus…
Browse files Browse the repository at this point in the history
…pend

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>
  • Loading branch information
Radoslaw Tyl authored and Jeff Kirsher committed Sep 9, 2019
1 parent 2410a3d commit d7cb9da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d7cb9da

Please sign in to comment.