linux_dsm_epyc7002/drivers/net/ethernet/ibm
Eric Dumazet 0c3b9d1b37 ibmvnic: 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.

ibmvnic uses NAPI for TX completions, so we better let core
networking stack call the napi->poll() to avoid the capture.

ibmvnic_netpoll_controller() was completely wrong anyway,
as it was scheduling NAPI to service RX queues (instead of TX),
so I doubt netpoll ever worked on this driver.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Cc: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-28 11:12:29 -07:00
..
ehea ehea: remove ndo_poll_controller 2018-09-28 11:12:28 -07:00
emac net: emac: fix fixed-link setup for the RTL8363SB switch 2018-09-18 19:56:29 -07:00
ibmveth.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
ibmveth.h ibmveth: Support to enable LSO/CSO for Trunk VEA. 2017-05-21 13:29:01 -04:00
ibmvnic.c ibmvnic: remove ndo_poll_controller 2018-09-28 11:12:29 -07:00
ibmvnic.h ibmvnic: Remove code to request error information 2018-08-07 12:46:27 -07:00
Kconfig Driver for IBM System i/p VNIC protocol 2015-12-28 00:12:13 -05:00
Makefile Driver for IBM System i/p VNIC protocol 2015-12-28 00:12:13 -05:00