net: ethernet: mtk-star-emac: separate tx/rx handling with two NAPIs
authorBiao Huang <biao.huang@mediatek.com>
Wed, 29 Jun 2022 03:17:42 +0000 (11:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2022 12:45:30 +0000 (13:45 +0100)
commit0a8bd81fd6aaace14979152e0540da8ff158a00a
tree711458d70e8dfc063570859ac585a090e1a52286
parent0027340a239bf7b7d370dde4a00be06fbe7e80e6
net: ethernet: mtk-star-emac: separate tx/rx handling with two NAPIs

Current driver may lost tx interrupts under bidirectional test with iperf3,
which leads to some unexpected issues.

This patch let rx/tx interrupt enable/disable separately, and rx/tx are
handled in different NAPIs.

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: Yinghua Pan <ot_yinghua.pan@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_star_emac.c