Searched hist:"4 d6acb62d2db5c1cc533c9a0b6e418ef9f63642e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | diff 4d6acb62d2db5c1cc533c9a0b6e418ef9f63642e Tue Dec 08 07:54:40 CST 2015 Eric Dumazet <edumazet@google.com> 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 <willemb@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Ariel Elior <ariel.elior@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|