[Intel-wired-lan] [PATCH v1] igc: Increase timeout value for Speed 100/1000/2500
Paul Menzel
pmenzel at molgen.mpg.de
Wed Jul 14 06:23:33 UTC 2021
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.
> break;
> }
Kind regards,
Paul
More information about the Intel-wired-lan
mailing list