* Re: [PATCH 1/1] net: nps_enet: Disable interrupts before napi reschedule
[not found] ` <20160529.223542.1386340561946869732.davem@davemloft.net>
@ 2016-06-02 10:13 ` Vineet Gupta
0 siblings, 0 replies; only message in thread
From: Vineet Gupta @ 2016-06-02 10:13 UTC (permalink / raw)
To: David Miller, eladkan
Cc: noamca, linux-kernel, Alexey.Brodkin, netdev,
stable@vger.kernel.org
On Monday 30 May 2016 11:05 AM, David Miller wrote:
> From: Elad Kanfi <eladkan@mellanox.com>
> Date: Thu, 26 May 2016 15:00:06 +0300
>
>> From: Elad Kanfi <eladkan@mellanox.com>
>>
>> Since NAPI works by shutting down event interrupts when theres
>> work and turning them on when theres none, the net driver must
>> make sure that interrupts are disabled when it reschedules polling.
>> By calling napi_reschedule, the driver switches to polling mode,
>> therefor there should be no interrupt interference.
>> Any received packets will be handled in nps_enet_poll by polling the HW
>> indication of received packet until all packets are handled.
>>
>> Signed-off-by: Elad Kanfi <eladkan@mellanox.com>
>> Acked-by: Noam Camus <noamca@mellanox.com>
>
> Applied.
>
ARC osci platform in 4.6 currently have broken networking. This needs a stable
backport to 4.6
Upstream 86651650d16a359e4 ("net: nps_enet: Disable interrupts before napi
reschedule")
Thx,
-Vineet
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-02 10:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1464264006-26627-1-git-send-email-eladkan@mellanox.com>
[not found] ` <20160529.223542.1386340561946869732.davem@davemloft.net>
2016-06-02 10:13 ` [PATCH 1/1] net: nps_enet: Disable interrupts before napi reschedule Vineet Gupta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox