Skip to content

Commit

Permalink
cxgb4i: Increased the value of MAX_IMM_TX_PKT_LEN from 128 to 256 bytes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Karen Xie authored and David S. Miller committed Oct 15, 2015
1 parent c350335 commit d3074cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d3074cc

Please sign in to comment.