RE: [PATCH net-next] bnx2x: avoid soft lockup in bnx2x_poll()

2015-12-09 Thread Yuval Mintz
> > > 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

Re: [PATCH net-next] bnx2x: avoid soft lockup in bnx2x_poll()

2015-12-08 Thread David Miller
From: Eric Dumazet Date: Tue, 08 Dec 2015 05:54:40 -0800 > From: Eric Dumazet > > 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

Re: [PATCH net-next] bnx2x: avoid soft lockup in bnx2x_poll()

2015-12-08 Thread Eric Dumazet
On Tue, 2015-12-08 at 17:02 +, Yuval Mintz wrote: > > 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 trigge

RE: [PATCH net-next] bnx2x: avoid soft lockup in bnx2x_poll()

2015-12-08 Thread Yuval Mintz
> 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

[PATCH net-next] bnx2x: avoid soft lockup in bnx2x_poll()

2015-12-08 Thread Eric Dumazet
From: Eric Dumazet 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 i