Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <rakesh@chelsio.com>
Signed-off-by: Karen Xie <kxie@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Karen Xie and committed by
David S. Miller
d3074cce c3503357

+1 -1
+1 -1
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
··· 160 160 161 161 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) 162 162 #define RCV_BUFSIZ_MASK 0x3FFU 163 - #define MAX_IMM_TX_PKT_LEN 128 163 + #define MAX_IMM_TX_PKT_LEN 256 164 164 165 165 static int push_tx_frames(struct cxgbi_sock *, int); 166 166