summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-08-21 20:49:05 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:50:47 -0700
commit52b810d3055f0a49472d05500c6fea5aeabd01a6 (patch)
treef06e10115dc0209a073a2a3124a5013234f8d633 /drivers/net/cxgb3
parentc8303d10daeacb5dd7714d99f03e15cc6b91a71e (diff)
downloadop-kernel-dev-52b810d3055f0a49472d05500c6fea5aeabd01a6.zip
op-kernel-dev-52b810d3055f0a49472d05500c6fea5aeabd01a6.tar.gz
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>
Diffstat (limited to 'drivers/net/cxgb3')
-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 1746003..d6c7760 100644
--- a/drivers/net/cxgb3/common.h
+++ b/drivers/net/cxgb3/common.h
@@ -104,7 +104,7 @@ enum {
PROTO_SRAM_LINES = 128, /* size of TP sram */
};
-#define MAX_RX_COALESCING_LEN 16224U
+#define MAX_RX_COALESCING_LEN 12288U
enum {
PAUSE_RX = 1 << 0,
OpenPOWER on IntegriCloud