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-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3074cce904a26bb645d3ee7ab5026cf7ef0a3d1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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);