Skip to content

Commit

Permalink
mv643xx_eth: set sane default receive coalescing timeout
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lennert Buytenhek authored and David S. Miller committed Feb 25, 2009
1 parent a5fe361 commit 4fb0a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/mv643xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4fb0a54

Please sign in to comment.