summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mediatek/mtk_eth_soc.c
diff options
context:
space:
mode:
authorNelson Chang <nelson.chang@mediatek.com>2016-09-26 14:33:50 +0800
committerDavid S. Miller <davem@davemloft.net>2016-09-27 09:41:31 -0400
commitca3ba106a9979dd21988cec296462b4f49b37ace (patch)
tree77f5993f8b19f1ed6c119964eed79ba5245d1e6c /drivers/net/ethernet/mediatek/mtk_eth_soc.c
parent6bf563d50af2de34024bde0de1733d4028f9400c (diff)
downloadlinux-ca3ba106a9979dd21988cec296462b4f49b37ace.tar.bz2
net: ethernet: mediatek: bug fix to disable HW LRO
(1) Modify the register settings for LRO relinquishments (2) Jump out from the waiting loop while LRO relinquishments are done Signed-off-by: Nelson Chang <nelson.chang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek/mtk_eth_soc.c')
-rw-r--r--drivers/net/ethernet/mediatek/mtk_eth_soc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index 62de68dac036..ddf20a00654e 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -1374,6 +1374,7 @@ static void mtk_hwlro_rx_uninit(struct mtk_eth *eth)
msleep(20);
continue;
}
+ break;
}
/* invalidate lro rings */