From 8637c18ef53991072b8b2de7b80efa6712993b7b Mon Sep 17 00:00:00 2001 From: Jim Ma Date: Thu, 27 Oct 2022 02:03:21 +0800 Subject: [PATCH] igc: Increase timeout value for Speed 100/1000/2500 backport from https://github.com/torvalds/linux/commit/b27b8dc77b5e9030b2babb2728f61f9bf6260922 Signed-off-by: Jim Ma --- igc_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/igc_main.c b/igc_main.c index d6cdb15..ca7800d 100644 --- a/igc_main.c +++ b/igc_main.c @@ -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; }