aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-09-21 15:27:46 -0700
committerDavid S. Miller <davem@davemloft.net>2018-09-23 21:55:25 -0700
commit1aa28fb98368078bcaf527bf46c0e001db934414 (patch)
treee3f167edc1d8628f2d2f8122dbcde17aef22004d /drivers/net/ethernet/mellanox/mlx4/en_netdev.c
parentice: remove ndo_poll_controller (diff)
downloadlinux-dev-1aa28fb98368078bcaf527bf46c0e001db934414.tar.xz
linux-dev-1aa28fb98368078bcaf527bf46c0e001db934414.zip
i40evf: 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. i40evf 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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_netdev.c')
0 files changed, 0 insertions, 0 deletions