Skip to contentSkip to conversation

ixgbevf: Link lost in VM on ixgbevf when restoring from freeze or suspend

PATCH New Radoslaw Tyl 2 participants 2 messages Jul 4, 2019 – Jul 12, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 reenabling any features of the device that had been disabled during suspend calls, such as IRQs and bus mastering.

---
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +1 -0
index d189ed247665..e1b7fa9c39d6 100644
@@ -2514,6 +2514,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);
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 ixgbevf: Link lost in VM on ixgbevf when restoring from freeze or suspend

Quoted 13 lines

-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Radoslaw Tyl
Sent: Thursday, July 4, 2019 6:49 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH] 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 reenabling any features of the device that had been disabled during suspend calls, such as IRQs and bus mastering.

Quoted 4 lines
---
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 1 +
 1 file changed, 1 insertion(+)