]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita116f4e4e0f2b89a33206570c2e3fcc9c5302401
tree711458d70e8dfc063570859ac585a090e1a52286
parent71e8a493ea6e2135ff8dd166440166a0a9d72bea
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