Revision d8ea6a91ad70ae0881d76446df27d3f58fd478c3 authored by Eric Dumazet on 21 September 2018, 22:27:49 UTC, committed by David S. Miller on 24 September 2018, 04:55:25 UTC
As diagnosed by Song Liu, ndo_poll_controller() can be very dangerous on loaded hosts, since the cpu calling ndo_poll_controller() might steal all NAPI contexts (for all RX/TX queues of the NIC). This capture can last for unlimited amount of time, since one cpu is generally not able to drain all the queues under load. bnx2x uses NAPI for TX completions, so we better let core networking stack call the napi->poll() to avoid the capture. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Ariel Elior <ariel.elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 9c29bcd
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.4 KB |
Makefile | -rw-r--r-- | 160 bytes |
checkpoint.c | -rw-r--r-- | 19.0 KB |
commit.c | -rw-r--r-- | 33.6 KB |
journal.c | -rw-r--r-- | 75.7 KB |
recovery.c | -rw-r--r-- | 21.4 KB |
revoke.c | -rw-r--r-- | 21.2 KB |
transaction.c | -rw-r--r-- | 79.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...