summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Xie <kxie@chelsio.com>2015-10-14 03:13:59 +0300
committerDavid S. Miller <davem@davemloft.net>2015-10-15 04:40:32 +0300
commitd3074cce904a26bb645d3ee7ab5026cf7ef0a3d1 (patch)
treee38a1ba2d454f1175774a196ffca5cf1d8b46aef
parentc3503357fb71af9b215541e1959a7db9325c1f0f (diff)
downloadlinux-d3074cce904a26bb645d3ee7ab5026cf7ef0a3d1.tar.xz
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>
-rw-r--r--drivers/scsi/cxgbi/cxgb4i/cxgb4i.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
index de6feb8964c9..804806e1cbb4 100644
--- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
+++ b/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 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);