]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Increase timeout value for Speed 100/1000/2500
authorMuhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Sat, 17 Jul 2021 16:12:22 +0000 (00:12 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 20 Jul 2021 23:11:36 +0000 (16:11 -0700)
commita4fd3f70ee513e0fb31814df5b1a212c9752c344
treef92860fda69072dde57a34981025fab007402aa3
parentd32d0e0e460d6597d6c09c962d15e1fcda141d5c
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 <muhammad.husaini.zulkifli@intel.com>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c