On Sat, 29 Sep 2018 14:52:56 +0200 Stephen Hemminger <step...@networkplumber.org> wrote:
> Similar to other patches from ERic. > > 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. > > In netvsc driver it uses NAPI for TX completions. The default > poll_napi will do this for us now and avoid the capture. > > Signed-off-by: Stephen Hemminger <sthem...@microsoft.com> > Cc: Haiyang Zhang <haiya...@microsoft.com> > Cc: Eric Dumazet <eduma...@google.com> Forgot to label this, it is for net-next.