Commit d3074cce authored by Karen Xie's avatar Karen Xie Committed by David S. Miller

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: default avatarRakesh Ranjan <rakesh@chelsio.com>
Signed-off-by: default avatarKaren Xie <kxie@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c3503357
...@@ -160,7 +160,7 @@ static struct scsi_transport_template *cxgb4i_stt; ...@@ -160,7 +160,7 @@ static struct scsi_transport_template *cxgb4i_stt;
#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
#define RCV_BUFSIZ_MASK 0x3FFU #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); static int push_tx_frames(struct cxgbi_sock *, int);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment