mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a5fe361653
commit
4fb0a54a55
1 changed files with 1 additions and 1 deletions
|
@ -2957,7 +2957,7 @@ static int mv643xx_eth_probe(struct platform_device *pdev)
|
|||
|
||||
netif_carrier_off(dev);
|
||||
|
||||
set_rx_coal(mp, 0);
|
||||
set_rx_coal(mp, 250);
|
||||
set_tx_coal(mp, 0);
|
||||
|
||||
err = register_netdev(dev);
|
||||
|
|
Loading…
Reference in a new issue