Revision 0825ce70318e9c576acbdd5ceb4a8d563263cf8f authored by Eric Dumazet on 21 September 2018, 22:27:51 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. nfp 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: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Tested-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 58e0e22
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 682 bytes |
Makefile | -rw-r--r-- | 164 bytes |
cfg.c | -rw-r--r-- | 11.8 KB |
cfg.h | -rw-r--r-- | 202 bytes |
driver-ops.h | -rw-r--r-- | 5.8 KB |
ieee802154_i.h | -rw-r--r-- | 5.4 KB |
iface.c | -rw-r--r-- | 19.4 KB |
llsec.c | -rw-r--r-- | 25.1 KB |
llsec.h | -rw-r--r-- | 3.1 KB |
mac_cmd.c | -rw-r--r-- | 4.2 KB |
main.c | -rw-r--r-- | 6.0 KB |
mib.c | -rw-r--r-- | 5.5 KB |
rx.c | -rw-r--r-- | 7.5 KB |
trace.c | -rw-r--r-- | 189 bytes |
trace.h | -rw-r--r-- | 6.4 KB |
tx.c | -rw-r--r-- | 3.4 KB |
util.c | -rw-r--r-- | 2.7 KB |
Computing file changes ...