aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2008-08-08 21:36:01 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-08-14 04:40:13 -0400
commit10f1b492135620a87970cad9f80439249dcce299 (patch)
treedad44b3b8b744bf0eccd5ffd5932c0b033b5139e
parent808ff676c46d8e259c2cb38579f94f8e6ae38009 (diff)
e1000e: Increase Tx timeout factor for 10Mbps
Prevent Tx hangs from happening on 10Mb flood ping by increasing the timeout factor. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--drivers/net/e1000e/netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index efa944509a39..4573c7b9cbd9 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -3058,7 +3058,7 @@ static void e1000_watchdog_task(struct work_struct *work)
3058 case SPEED_10: 3058 case SPEED_10:
3059 txb2b = 0; 3059 txb2b = 0;
3060 netdev->tx_queue_len = 10; 3060 netdev->tx_queue_len = 10;
3061 adapter->tx_timeout_factor = 14; 3061 adapter->tx_timeout_factor = 16;
3062 break; 3062 break;
3063 case SPEED_100: 3063 case SPEED_100:
3064 txb2b = 0; 3064 txb2b = 0;