fm10k: force link to remain down for at least a second on resume events
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 7 Jun 2016 23:09:00 +0000 (16:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 20 Jul 2016 22:22:16 +0000 (15:22 -0700)
commit0356b23bcc347d4020f2883ad083ab54e573e214
tree7fdabbc724a0881b389a51cc359e14bf261852c4
parent0afd20e5573c4aa976f1b935b6df73592b46ded5
fm10k: force link to remain down for at least a second on resume events

When we resume from an AER recovery with many active VFs, the PF sees
many spurious link up and link down events. Prevent this by delaying
link down for at least one second after the resume event.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c