diff options
author | Michael Chan <[email protected]> | 2023-12-11 16:51:13 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-12 16:05:57 -0800 |
commit | f12f551b5b966ec58bfba9daa15f3cb99a92c1f9 (patch) | |
tree | 12538f174e88c1723b79ff260bdadd1d27a74d2b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 18fe0a383cca78cfb183f83f947e75bebc7b3a20 (diff) |
bnxt_en: Prevent TX timeout with a very small TX ring
If xmit_more condition is true, the driver may set the
TX_BD_FLAGS_NO_CMPL flag. If after this packet, the TX ring can no
longer hold a packet with maximum fragments, we will stop the TX
queue. When this happens, we must clear the TX_BD_FLAGS_NO_CMPL flag
on the last packet or there will be no completion and cause TX
timeout.
Fixes: c1056a59aee1 ("bnxt_en: Optimize xmit_more TX path")
Reviewed-by: Somnath Kotur <[email protected]>
Reviewed-by: Andy Gospodarek <[email protected]>
Reviewed-by: Hongguang Gao <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions