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:
a63fa1c
)
i40e: Setting i40e_down bit for tx_timeout
author
Akeem G Abodunrin
<
[email protected]
>
Thu, 13 Feb 2014 11:48:43 +0000
(
03:48
-0800)
committer
David S. Miller
<
[email protected]
>
Thu, 13 Feb 2014 22:27:28 +0000
(17:27 -0500)
If tx_timeout recovery failed, then it becomes necessary to set
i40e_down bit before actually shutdown the connection.
Change-ID: Iaac81df0e302116571827aa0cff450697fbb7fa3
Signed-off-by: Akeem G Abodunrin <
[email protected]
>
Signed-off-by: Jesse Brandeburg <
[email protected]
>
Tested-by: Kavindya Deegala <
[email protected]
>
Signed-off-by: Aaron Brown <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/intel/i40e/i40e_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/i40e/i40e_main.c
b/drivers/net/ethernet/intel/i40e/i40e_main.c
index f596f74cae4aaec40d9c80328374dde01c4f1a54..8e444114bfc7e69c47328c31a23fcb5c7e0b4c2a 100644
(file)
--- a/
drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/
drivers/net/ethernet/intel/i40e/i40e_main.c
@@
-305,6
+305,7
@@
static void i40e_tx_timeout(struct net_device *netdev)
break;
default:
netdev_err(netdev, "tx_timeout recovery unsuccessful\n");
+ set_bit(__I40E_DOWN, &vsi->state);
i40e_down(vsi);
break;
}