summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2015-04-15 02:02:30 +0530
committerDavid S. Miller <davem@davemloft.net>2015-04-14 15:08:51 -0400
commit21dcfad6401b008e7352eb95104c7f199f025ac9 (patch)
tree93d7a88f65c6a19c4c5fdc18248a9494b2372ada /drivers/net/ethernet/chelsio
parent29ba877e7c8092a4dd3cbef80cca4e857129ca55 (diff)
downloadtalos-obmc-linux-21dcfad6401b008e7352eb95104c7f199f025ac9.tar.gz
talos-obmc-linux-21dcfad6401b008e7352eb95104c7f199f025ac9.zip
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 <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/sge.c2
1 files changed, 1 insertions, 1 deletions
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.
OpenPOWER on IntegriCloud