[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191207.115712.355931673337702807.davem@davemloft.net>
Date: Sat, 07 Dec 2019 11:57:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: grygorii.strashko@...com
Cc: netdev@...r.kernel.org, nsekhar@...com,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org
Subject: Re: [PATCH v2] net: ethernet: ti: cpsw: fix extra rx interrupt
From: Grygorii Strashko <grygorii.strashko@...com>
Date: Fri, 6 Dec 2019 14:28:20 +0200
> Now RX interrupt is triggered twice every time, because in
> cpsw_rx_interrupt() it is asked first and then disabled. So there will be
> pending interrupt always, when RX interrupt is enabled again in NAPI
> handler.
>
> Fix it by first disabling IRQ and then do ask.
>
> Fixes: 870915feabdc ("drivers: net: cpsw: remove disable_irq/enable_irq as irq can be masked from cpsw itself")
> Signed-off-by: Grygorii Strashko <grygorii.strashko@...com>
Applied and queued up for -stable.
Powered by blists - more mailing lists