summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/netdev.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2008-08-09 03:36:01 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-08-14 10:40:13 +0200
commit10f1b492135620a87970cad9f80439249dcce299 (patch)
treedad44b3b8b744bf0eccd5ffd5932c0b033b5139e /drivers/net/e1000e/netdev.c
parente1000e: Use skb_copy_to_linear_data_offset introduced in 2.6.22 (diff)
downloadlinux-10f1b492135620a87970cad9f80439249dcce299.tar.xz
linux-10f1b492135620a87970cad9f80439249dcce299.zip
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>
Diffstat (limited to 'drivers/net/e1000e/netdev.c')
-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)
case SPEED_10:
txb2b = 0;
netdev->tx_queue_len = 10;
- adapter->tx_timeout_factor = 14;
+ adapter->tx_timeout_factor = 16;
break;
case SPEED_100:
txb2b = 0;