[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200615.133136.632752213609052484.davem@davemloft.net>
Date: Mon, 15 Jun 2020 13:31:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: brgl@...ev.pl
Cc: john@...ozen.org, sean.wang@...iatek.com, Mark-MC.Lee@...iatek.com,
kuba@...nel.org, matthias.bgg@...il.com, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
fparent@...libre.com, stephane.leprovost@...iatek.com,
pedro.tsai@...iatek.com, andrew.perepech@...iatek.com,
bgolaszewski@...libre.com
Subject: Re: [PATCH] net: ethernet: mtk-star-emac: simplify interrupt
handling
From: Bartosz Golaszewski <brgl@...ev.pl>
Date: Thu, 11 Jun 2020 16:01:39 +0200
> From: Bartosz Golaszewski <bgolaszewski@...libre.com>
>
> During development we tried to make the interrupt handling as fine-grained
> as possible with TX and RX interrupts being disabled/enabled independently
> and the counter registers reset from workqueue context.
>
> Unfortunately after thorough testing of current mainline, we noticed the
> driver has become unstable under heavy load. While this is hard to
> reproduce, it's quite consistent in the driver's current form.
>
> This patch proposes to go back to the previous approach of doing all
> processing in napi context with all interrupts masked in order to make the
> driver usable in mainline linux. This doesn't impact the performance on
> pumpkin boards at all and it's in line with what many ethernet drivers do
> in mainline linux anyway.
>
> At the same time we're adding a FIXME comment about the need to improve
> the interrupt handling.
>
> Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driver")
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
Applied.
Powered by blists - more mailing lists