瀏覽代碼

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>
Divy Le Ray 18 年之前
父節點
當前提交
52b810d305
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/cxgb3/common.h

+ 1 - 1
drivers/net/cxgb3/common.h

@@ -104,7 +104,7 @@ enum {
 	PROTO_SRAM_LINES = 128, /* size of TP sram */
 	PROTO_SRAM_LINES = 128, /* size of TP sram */
 };
 };
 
 
-#define MAX_RX_COALESCING_LEN 16224U
+#define MAX_RX_COALESCING_LEN 12288U
 
 
 enum {
 enum {
 	PAUSE_RX = 1 << 0,
 	PAUSE_RX = 1 << 0,