diff options
author | Matthew Vick <matthew.vick@intel.com> | 2014-10-02 01:10:18 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-10-16 04:37:33 -0400 |
commit | 4d4191566fdd0e8990b2e8ab5ae819227c92892f (patch) | |
tree | b6dcc0a196716712fa6ba1bf13387099673626f2 /drivers/net | |
parent | 91269e390d062b526432f2ef1352b8df82e0e0bc (diff) |
fm10k: Check the host state when bringing the interface up
Set the flag to fetch the host state before kicking off the service task
that reads the host state when bringing the interface back up.
Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c b/drivers/net/ethernet/intel/fm10k/fm10k_pci.c index e02036c427b9..a0cb74ab3dc6 100644 --- a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c +++ b/drivers/net/ethernet/intel/fm10k/fm10k_pci.c | |||
@@ -1489,6 +1489,7 @@ void fm10k_up(struct fm10k_intfc *interface) | |||
1489 | netif_tx_start_all_queues(interface->netdev); | 1489 | netif_tx_start_all_queues(interface->netdev); |
1490 | 1490 | ||
1491 | /* kick off the service timer */ | 1491 | /* kick off the service timer */ |
1492 | hw->mac.get_host_state = 1; | ||
1492 | mod_timer(&interface->service_timer, jiffies); | 1493 | mod_timer(&interface->service_timer, jiffies); |
1493 | } | 1494 | } |
1494 | 1495 | ||