Commit 79223239 authored by Biao Huang's avatar Biao Huang Committed by David S. Miller

net: stmmac: dwmac-mediatek: disable rx watchdog

disable rx watchdog for dwmac-mediatek, then the hw will
issue a rx interrupt once receiving a packet, so the responding time
for rx path will be reduced.
Signed-off-by: default avatarBiao Huang <biao.huang@mediatek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5aa070dc
...@@ -356,6 +356,7 @@ static int mediatek_dwmac_probe(struct platform_device *pdev) ...@@ -356,6 +356,7 @@ static int mediatek_dwmac_probe(struct platform_device *pdev)
plat_dat->has_gmac4 = 1; plat_dat->has_gmac4 = 1;
plat_dat->has_gmac = 0; plat_dat->has_gmac = 0;
plat_dat->pmt = 0; plat_dat->pmt = 0;
plat_dat->riwt_off = 1;
plat_dat->maxmtu = ETH_DATA_LEN; plat_dat->maxmtu = ETH_DATA_LEN;
plat_dat->bsp_priv = priv_plat; plat_dat->bsp_priv = priv_plat;
plat_dat->init = mediatek_dwmac_init; plat_dat->init = mediatek_dwmac_init;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment