[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181002.225759.1657914781928636887.davem@davemloft.net>
Date: Tue, 02 Oct 2018 22:57:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: netdev@...r.kernel.org, sthemmin@...rosoft.com,
haiyangz@...rosoft.com, edumazet@...gle.com
Subject: Re: [PATCH] hv_netvsc: remove ndo_poll_controller
From: Stephen Hemminger <stephen@...workplumber.org>
Date: Sat, 29 Sep 2018 14:52:56 +0200
> 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 <sthemmin@...rosoft.com>
Applied to net-next.
Powered by blists - more mailing lists