Skip to contentSkip to conversation

mv643xx_eth: set sane default receive coalescing timeout

PATCH In review Lennert Buytenhek 1 participant 1 message Feb 25, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/4 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.

---
 drivers/net/mv643xx_eth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/mv643xx_eth.c +1 -1
index 2ea964c..40db24d 100644
@@ -2958,7 +2958,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);
Signature · 1 line
1.5.6.4