linux-stable/drivers/net/ethernet/sfc/falcon
Eric Dumazet a4f570be65 sfc-falcon: remove ndo_poll_controller
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.

sfc-falcon 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: Solarflare linux maintainers <linux-net-drivers@solarflare.com>
Cc: Edward Cree <ecree@solarflare.com>
Cc: Bert Kenward <bkenward@solarflare.com>
Acked-By: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-28 11:12:29 -07:00
..
bitfield.h
efx.c sfc-falcon: remove ndo_poll_controller 2018-09-28 11:12:29 -07:00
efx.h net: ethernet/sfc: Convert timers to use timer_setup() 2017-10-25 12:57:33 +09:00
enum.h sfc: falcon: remove duplicated bit-wise or of LOOPBACK_SGMII 2018-02-26 11:33:52 -05:00
ethtool.c net: sfc: falcon: mark expected switch fall-through 2018-08-07 17:54:21 -07:00
falcon.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-11-15 11:56:19 -08:00
falcon_boards.c
farch.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
farch_regs.h
filter.h
io.h
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mdio_10g.c
mdio_10g.h
mtd.c mtd: Stop updating erase_info->state and calling mtd_erase_callback() 2018-03-21 09:50:56 +01:00
net_driver.h sfc-falcon: get rid of custom busy polling code 2017-02-03 09:56:50 -05:00
nic.c
nic.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-11-15 11:56:19 -08:00
phy.h
qt202x_phy.c
rx.c Merge branch 'akpm' (patches from Andrew) 2017-11-15 19:42:40 -08:00
selftest.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
selftest.h
tenxpress.c
tx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-11-15 11:56:19 -08:00
tx.h
txc43128_phy.c
workarounds.h