projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91269e3
)
fm10k: Check the host state when bringing the interface up
author
Matthew Vick
<
[email protected]
>
Thu, 2 Oct 2014 05:10:18 +0000
(
05:10
+0000)
committer
Jeff Kirsher
<
[email protected]
>
Thu, 16 Oct 2014 08:37:33 +0000
(
01:37
-0700)
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 <
[email protected]
>
Tested-by: Aaron Brown <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c
b/drivers/net/ethernet/intel/fm10k/fm10k_pci.c
index e02036c427b9670e946c3654af2ff2c85770593d..a0cb74ab3dc617d0262ebaf4df9c52bc0b159093 100644
(file)
--- 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)
netif_tx_start_all_queues(interface->netdev);
/* kick off the service timer */
+ hw->mac.get_host_state = 1;
mod_timer(&interface->service_timer, jiffies);
}