linux/drivers/net/ethernet/mediatek
Bartosz Golaszewski adaff6d906 net: ethernet: mtk-star-emac: simplify interrupt handling
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: 8c7bd5a454 ("net: ethernet: mtk-star-emac: new driver")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-15 13:30:58 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile net: ethernet: mtk-star-emac: new driver 2020-05-22 14:20:11 -07:00
mtk_eth_path.c net: mediatek: remove unneeded semicolon 2019-10-28 16:36:24 -07:00
mtk_eth_soc.c net: mediatek: Fix use correct return type for ndo_start_xmit() 2020-05-06 14:19:42 -07:00
mtk_eth_soc.h net: ethernet: mediatek: move mt7623 settings out off the mt7530 2020-04-07 18:28:28 -07:00
mtk_sgmii.c net: mediatek: remove unneeded semicolon 2019-10-28 16:36:24 -07:00
mtk_star_emac.c net: ethernet: mtk-star-emac: simplify interrupt handling 2020-06-15 13:30:58 -07:00