aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-08-21 23:49:05 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:50:47 -0400
commit52b810d3055f0a49472d05500c6fea5aeabd01a6 (patch)
treef06e10115dc0209a073a2a3124a5013234f8d633
parentc8303d10daeacb5dd7714d99f03e15cc6b91a71e (diff)
cxgb3 - Update rx coalescing length
Reduce Rx coalescing length to 12288 Large bursts from the adapter to the host create back pressure on the chip. Reducing the burst size avoids the issue. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/cxgb3/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h
index 1746003eb46a..d6c77607a114 100644
--- a/drivers/net/cxgb3/common.h
+++ b/drivers/net/cxgb3/common.h
@@ -104,7 +104,7 @@ enum {
104 PROTO_SRAM_LINES = 128, /* size of TP sram */ 104 PROTO_SRAM_LINES = 128, /* size of TP sram */
105}; 105};
106 106
107#define MAX_RX_COALESCING_LEN 16224U 107#define MAX_RX_COALESCING_LEN 12288U
108 108
109enum { 109enum {
110 PAUSE_RX = 1 << 0, 110 PAUSE_RX = 1 << 0,