OSDN Git Service

cxgb4i: Increased the value of MAX_IMM_TX_PKT_LEN from 128 to 256 bytes
authorKaren Xie <kxie@chelsio.com>
Wed, 14 Oct 2015 00:13:59 +0000 (17:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2015 01:40:32 +0000 (18:40 -0700)
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>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c

index de6feb8..804806e 100644 (file)
@@ -160,7 +160,7 @@ static struct scsi_transport_template *cxgb4i_stt;
 
 #define DIV_ROUND_UP(n, d)     (((n) + (d) - 1) / (d))
 #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);