Re: [PATCH 1/1] net: nps_enet: Disable interrupts before napi reschedule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 30 May 2016 11:05 AM, David Miller wrote:
> From: Elad Kanfi <eladkan@xxxxxxxxxxxx>
> Date: Thu, 26 May 2016 15:00:06 +0300
> 
>> From: Elad Kanfi <eladkan@xxxxxxxxxxxx>
>>
>> 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@xxxxxxxxxxxx>
>> Acked-by: Noam Camus <noamca@xxxxxxxxxxxx>
> 
> 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
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]