igc: Increase timeout value for Speed 100/1000/2500

backport from b27b8dc77b

Signed-off-by: Jim Ma <majinjing3@gmail.com>
This commit is contained in:
Jim Ma 2022-10-27 02:03:21 +08:00
parent ddf5b31257
commit 8637c18ef5

View File

@ -4242,7 +4242,9 @@ static void igc_watchdog_task(struct work_struct *work)
adapter->tx_timeout_factor = 14;
break;
case SPEED_100:
/* maybe add some timeout factor ? */
case SPEED_1000:
case SPEED_2500:
adapter->tx_timeout_factor = 7;
break;
}