diff options
author | Eric Dumazet <edumazet@google.com> | 2018-09-21 15:27:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-23 21:55:25 -0700 |
commit | 0825ce70318e9c576acbdd5ceb4a8d563263cf8f (patch) | |
tree | 016b350ce146daf11fafe192006c1de6863b5fc3 /samples/statx | |
parent | 58e0e22bff638055278ea73e34d0d07a95260790 (diff) |
nfp: 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.
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>
Diffstat (limited to 'samples/statx')
0 files changed, 0 insertions, 0 deletions