cxgb4i: Increased the value of MAX_IMM_TX_PKT_LEN from 128 to 256 bytes
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Signed-off-by Karen Xie <[email protected]>
--- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +1 -1
@@ -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 256static int push_tx_frames (struct cxgbi_sock *,int );