>From 04a4891c4f9a77052e5aea7d2ade25a3f8da5436 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 21 Nov 2013 00:13:06 +0100 Subject: net: mvneta: reduce Tx coalesce from 16 to 4 packets I'm getting slightly better performance with a smaller Tx coalesce setting, both with large and short packets. Since it was used differently with the timer, it is possible that the previous value was more suited for use with a slow timer. Signed-off-by: Willy Tarreau --- drivers/net/ethernet/marvell/mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index def32a8..d188828 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -212,7 +212,7 @@ /* Various constants */ /* Coalescing */ -#define MVNETA_TXDONE_COAL_PKTS 16 +#define MVNETA_TXDONE_COAL_PKTS 4 #define MVNETA_RX_COAL_PKTS 32 #define MVNETA_RX_COAL_USEC 100 -- 1.7.12.1