Commit 4fb0a54a authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by David S. Miller

mv643xx_eth: set sane default receive coalescing timeout

A receive coalescing timeout of 250 usec appears to strike a good
balance between allowing enough received frames to be aggregated for
LRO to do its job and not allowing the connection to stall due to
delaying ACKs to the remote end for too long.
Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a5fe3616
...@@ -2957,7 +2957,7 @@ static int mv643xx_eth_probe(struct platform_device *pdev) ...@@ -2957,7 +2957,7 @@ static int mv643xx_eth_probe(struct platform_device *pdev)
netif_carrier_off(dev); netif_carrier_off(dev);
set_rx_coal(mp, 0); set_rx_coal(mp, 250);
set_tx_coal(mp, 0); set_tx_coal(mp, 0);
err = register_netdev(dev); err = register_netdev(dev);
......
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