[Intel-wired-lan] [PATCH v1] igc: Increase timeout value for Speed 100/1000/2500
Zulkifli, Muhammad Husaini
muhammad.husaini.zulkifli at intel.com
Sat Jul 17 14:16:12 UTC 2021
Hi Paul,
Thanks for the comment.
Replied inline
>-----Original Message-----
>From: Paul Menzel <pmenzel at molgen.mpg.de>
>Sent: Wednesday, July 14, 2021 2:24 PM
>To: Zulkifli, Muhammad Husaini <muhammad.husaini.zulkifli at intel.com>
>Cc: intel-wired-lan at osuosl.org
>Subject: Re: [Intel-wired-lan] [PATCH v1] igc: Increase timeout value for
>Speed 100/1000/2500
>
>Dear Muhammad,
>
>
>Am 10.07.21 um 01:45 schrieb Muhammad Husaini Zulkifli:
>> As the cycle time is set to maximum of 1s, the TX Hang timeout need to
>> be increase to avoid possible TX Hangs caused by using long Qbv cycles.
>
>s/increase/increased/
>
>Do you have a way how to reproduce the issue?
>
>> Signed-off-by: Muhammad Husaini Zulkifli
>> <muhammad.husaini.zulkifli at intel.com>
>> ---
>> drivers/net/ethernet/intel/igc/igc_main.c | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/net/ethernet/intel/igc/igc_main.c
>> b/drivers/net/ethernet/intel/igc/igc_main.c
>> index c8abd7fb70e5..99fb5641297d 100644
>> --- a/drivers/net/ethernet/intel/igc/igc_main.c
>> +++ b/drivers/net/ethernet/intel/igc/igc_main.c
>> @@ -5322,7 +5322,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;
>
>Please mention in the commit message, how the timeout factor of 7 was
>determined. Why not any other number.
There is no dedicated number specific in data sheet for this timeout factor.
This time out factor was determined during the debugging to solve the "tx hang" issues that
we were seeing in some cases especially during Scheduled packet Transmission(etf).
>
>> break;
>> }
>
>
>Kind regards,
>
>Paul
More information about the Intel-wired-lan
mailing list