浏览代码

cxgb4i: Increased the value of MAX_IMM_TX_PKT_LEN from 128 to 256 bytes

This helps improving the latency of small packets.

Signed-off-by: Rakesh Ranjan <rakesh@chelsio.com>
Signed-off-by: Karen Xie <kxie@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Karen Xie 9 年之前
父节点
当前提交
d3074cce90
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/scsi/cxgbi/cxgb4i/cxgb4i.c

+ 1 - 1
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c

@@ -160,7 +160,7 @@ static struct scsi_transport_template *cxgb4i_stt;
 
 
 #define DIV_ROUND_UP(n, d)	(((n) + (d) - 1) / (d))
 #define DIV_ROUND_UP(n, d)	(((n) + (d) - 1) / (d))
 #define RCV_BUFSIZ_MASK		0x3FFU
 #define RCV_BUFSIZ_MASK		0x3FFU
-#define MAX_IMM_TX_PKT_LEN	128
+#define MAX_IMM_TX_PKT_LEN	256
 
 
 static int push_tx_frames(struct cxgbi_sock *, int);
 static int push_tx_frames(struct cxgbi_sock *, int);