summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDivy Le Ray2007-08-22 05:49:05 +0200
committerDavid S. Miller2007-10-11 01:50:47 +0200
commit52b810d3055f0a49472d05500c6fea5aeabd01a6 (patch)
treef06e10115dc0209a073a2a3124a5013234f8d633
parent3c59x: check return of pci_enable_device() (diff)
downloadkernel-qcow2-linux-52b810d3055f0a49472d05500c6fea5aeabd01a6.tar.gz
kernel-qcow2-linux-52b810d3055f0a49472d05500c6fea5aeabd01a6.tar.xz
kernel-qcow2-linux-52b810d3055f0a49472d05500c6fea5aeabd01a6.zip
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 {
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,