From: Hariprasad Shenai Date: Tue, 14 Apr 2015 20:32:30 +0000 (+0530) Subject: cxgb4: Increased the value of MAX_IMM_TX_PKT_LEN from 128 to 256 bytes X-Git-Tag: v4.1-rc1~128^2~3^2~4 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=21dcfad6401b008e7352eb95104c7f199f025ac9;p=uclinux-h8%2Flinux.git cxgb4: Increased the value of MAX_IMM_TX_PKT_LEN from 128 to 256 bytes This allows a significant latency drop for packets of sizes between 128 and 192 bytes Signed-off-by: Hariprasad Shenai Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/chelsio/cxgb4/sge.c b/drivers/net/ethernet/chelsio/cxgb4/sge.c index e622214e2eca..900c642136a7 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/sge.c +++ b/drivers/net/ethernet/chelsio/cxgb4/sge.c @@ -144,7 +144,7 @@ * Max Tx descriptor space we allow for an Ethernet packet to be inlined * into a WR. */ -#define MAX_IMM_TX_PKT_LEN 128 +#define MAX_IMM_TX_PKT_LEN 256 /* * Max size of a WR sent through a control Tx queue.