]> 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)
commita404507529b2730b8cd8f299a2bf083608ee456d
tree711458d70e8dfc063570859ac585a090e1a52286
parent3353a26cd96ef2319dff8a0a429bcec614cf30a0
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