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>
This commit is contained in:
Родитель
808ff676c4
Коммит
10f1b49213
|
@ -3058,7 +3058,7 @@ static void e1000_watchdog_task(struct work_struct *work)
|
||||||
case SPEED_10:
|
case SPEED_10:
|
||||||
txb2b = 0;
|
txb2b = 0;
|
||||||
netdev->tx_queue_len = 10;
|
netdev->tx_queue_len = 10;
|
||||||
adapter->tx_timeout_factor = 14;
|
adapter->tx_timeout_factor = 16;
|
||||||
break;
|
break;
|
||||||
case SPEED_100:
|
case SPEED_100:
|
||||||
txb2b = 0;
|
txb2b = 0;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче