diff options
author | Sasha Neftin <sasha.neftin@intel.com> | 2023-02-07 02:58:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-14 21:11:48 +0300 |
commit | 5f9c656ab2c4c36f3b85819c7a9a8bec5711cfb5 (patch) | |
tree | 729da67b81197eb1d0d2af2448afc6978ede9e82 /drivers/powercap/intel_rapl_common.c | |
parent | 190296d51b4690e6175f25230ea53c8b2f7cdf64 (diff) | |
download | linux-5f9c656ab2c4c36f3b85819c7a9a8bec5711cfb5.tar.xz |
igc: Add ndo_tx_timeout support
[ Upstream commit 9b275176270efd18f2f4e328b32be1bad34c4c0d ]
On some platforms, 100/1000/2500 speeds seem to have sometimes problems
reporting false positive tx unit hang during stressful UDP traffic. Likely
other Intel drivers introduce responses to a tx hang. Update the 'tx hang'
comparator with the comparison of the head and tail of ring pointers and
restore the tx_timeout_factor to the previous value (one).
This can be test by using netperf or iperf3 applications.
Example:
iperf3 -s -p 5001
iperf3 -c 192.168.0.2 --udp -p 5001 --time 600 -b 0
netserver -p 16604
netperf -H 192.168.0.2 -l 600 -p 16604 -t UDP_STREAM -- -m 64000
Fixes: b27b8dc77b5e ("igc: Increase timeout value for Speed 100/1000/2500")
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://lore.kernel.org/r/20230206235818.662384-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/powercap/intel_rapl_common.c')
0 files changed, 0 insertions, 0 deletions