From: Karen Xie Date: Wed, 14 Oct 2015 00:13:59 +0000 (-0700) Subject: cxgb4i: Increased the value of MAX_IMM_TX_PKT_LEN from 128 to 256 bytes X-Git-Tag: v4.9.8~3303^2~133 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3074cce904a26bb645d3ee7ab5026cf7ef0a3d1;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Karen Xie Signed-off-by: David S. Miller --- diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c index de6feb8..804806e 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);