Commit 97da9986 authored by Biao Huang's avatar Biao Huang Committed by Greg Kroah-Hartman
Browse files

net: ethernet: mtk-star-emac: separate tx/rx handling with two NAPIs



[ Upstream commit 0a8bd81f ]

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: default avatarBiao Huang <biao.huang@mediatek.com>
Signed-off-by: default avatarYinghua Pan <ot_yinghua.pan@mediatek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: e54b4db3 ("net: ethernet: mtk-star-emac: rearm interrupts in rx_poll only when advised")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 688fff00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment