mirror of https://gitee.com/openkylin/linux.git
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: Biao Huang <biao.huang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5aa070dc50
commit
792232390b
|
@ -356,6 +356,7 @@ static int mediatek_dwmac_probe(struct platform_device *pdev)
|
|||
plat_dat->has_gmac4 = 1;
|
||||
plat_dat->has_gmac = 0;
|
||||
plat_dat->pmt = 0;
|
||||
plat_dat->riwt_off = 1;
|
||||
plat_dat->maxmtu = ETH_DATA_LEN;
|
||||
plat_dat->bsp_priv = priv_plat;
|
||||
plat_dat->init = mediatek_dwmac_init;
|
||||
|
|
Loading…
Reference in New Issue