https://github.com/torvalds/linux
Revision dda9d57e2d4245c0d8e309ee7399bf2ebfca64ae authored by Eric Dumazet on 21 September 2018, 22:27:42 UTC, committed by David S. Miller on 24 September 2018, 04:55:24 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
lasts for unlimited amount of time, since one
cpu is generally not able to drain all the queues under load.

fm10k 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: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 6f5d941
History
Tip revision: dda9d57e2d4245c0d8e309ee7399bf2ebfca64ae authored by Eric Dumazet on 21 September 2018, 22:27:42 UTC
fm10k: remove ndo_poll_controller
Tip revision: dda9d57
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 12.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 9.7 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 96.4 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 563 bytes
MAINTAINERS -rw-r--r-- 459.0 KB
Makefile -rw-r--r-- 58.6 KB
README -rw-r--r-- 800 bytes

README

back to top