Skip to content

Commit b27b8dc

Browse files
zulkifl3anguy11
authored andcommitted
igc: Increase timeout value for Speed 100/1000/2500
As the cycle time is set to maximum of 1s, the TX Hang timeout need to be increase to avoid possible TX Hang. There is no dedicated number specific in data sheet for the timeout factor. Timeout factor was determined during the debugging to solve the "Tx Hang" issues that happen in some cases mainly during ETF(Earliest TxTime First). This can be test by using TSN Schedule Tx Tools udp_tai sample application. Signed-off-by: Muhammad Husaini Zulkifli <[email protected]> Acked-by: Sasha Neftin <[email protected]> Tested-by: Dvora Fuxbrumer <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 62f5bbf commit b27b8dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/net/ethernet/intel/igc/igc_main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5312,7 +5312,9 @@ static void igc_watchdog_task(struct work_struct *work)
53125312
adapter->tx_timeout_factor = 14;
53135313
break;
53145314
case SPEED_100:
5315-
/* maybe add some timeout factor ? */
5315+
case SPEED_1000:
5316+
case SPEED_2500:
5317+
adapter->tx_timeout_factor = 7;
53165318
break;
53175319
}
53185320

0 commit comments

Comments
 (0)