aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2009-02-24 10:42:05 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-25 02:17:22 -0500
commit4fb0a54a55d34c28dc53c39567ce171166572699 (patch)
tree2c6cf0b09cdebcce08789dc399e0b1cd161fc4e8 /drivers
parenta5fe36165339c57b341250e8252d833e91317c70 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/mv643xx_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index e1a18e3540ad..e1f7706c15cd 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -2957,7 +2957,7 @@ static int mv643xx_eth_probe(struct platform_device *pdev)
2957 2957
2958 netif_carrier_off(dev); 2958 netif_carrier_off(dev);
2959 2959
2960 set_rx_coal(mp, 0); 2960 set_rx_coal(mp, 250);
2961 set_tx_coal(mp, 0); 2961 set_tx_coal(mp, 0);
2962 2962
2963 err = register_netdev(dev); 2963 err = register_netdev(dev);