diff options
| author | Eric Dumazet <[email protected]> | 2015-12-08 05:54:40 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-12-08 22:54:57 -0500 |
| commit | 4d6acb62d2db5c1cc533c9a0b6e418ef9f63642e (patch) | |
| tree | bbcb7ba4b5817c858fe41873c776e3500a8717e7 /tools/perf/scripts/python/netdev-times.py | |
| parent | 46c749eac979c0bf280f760971367e9babe4d05f (diff) | |
bnx2x: avoid soft lockup in bnx2x_poll()
Under heavy TX load, bnx2x_poll() can loop forever and trigger
soft lockup bugs.
A napi poll handler must yield after one TX completion round,
risk of livelock is too high otherwise.
Bug is very easy to trigger using a debug build, and udp flood, because
of added cpu cycles in TX completion, and we do not receive enough
packets to break the loop.
Reported-by: Willem de Bruijn <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Ariel Elior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions