Commit 9b27517
igc: Add ndo_tx_timeout support
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: b27b8dc ("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>1 parent 18a0483 commit 9b27517
1 file changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2942 | 2942 | | |
2943 | 2943 | | |
2944 | 2944 | | |
2945 | | - | |
| 2945 | + | |
| 2946 | + | |
| 2947 | + | |
2946 | 2948 | | |
2947 | 2949 | | |
2948 | 2950 | | |
| |||
5068 | 5070 | | |
5069 | 5071 | | |
5070 | 5072 | | |
| 5073 | + | |
| 5074 | + | |
| 5075 | + | |
| 5076 | + | |
| 5077 | + | |
| 5078 | + | |
| 5079 | + | |
| 5080 | + | |
| 5081 | + | |
| 5082 | + | |
| 5083 | + | |
| 5084 | + | |
| 5085 | + | |
| 5086 | + | |
| 5087 | + | |
| 5088 | + | |
| 5089 | + | |
| 5090 | + | |
5071 | 5091 | | |
5072 | 5092 | | |
5073 | 5093 | | |
| |||
5495 | 5515 | | |
5496 | 5516 | | |
5497 | 5517 | | |
5498 | | - | |
| 5518 | + | |
5499 | 5519 | | |
5500 | 5520 | | |
5501 | 5521 | | |
| |||
6320 | 6340 | | |
6321 | 6341 | | |
6322 | 6342 | | |
| 6343 | + | |
6323 | 6344 | | |
6324 | 6345 | | |
6325 | 6346 | | |
| |||
0 commit comments