e1000e: Increase Tx timeout factor for 10Mbps
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 9 Aug 2008 01:36:01 +0000 (18:36 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 14 Aug 2008 08:40:13 +0000 (04:40 -0400)
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>
drivers/net/e1000e/netdev.c

index efa944509a392e5d92cf2dc2ec485952ca9ce198..4573c7b9cbd94814029a156e551e9c95009cad77 100644 (file)
@@ -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;