summaryrefslogtreecommitdiffstats
path: root/drivers/ntb
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2015-06-03 11:29:38 -0400
committerJon Mason <jdmason@kudzu.us>2015-07-04 14:09:27 -0400
commit9891417de8a816de60faea8a2ff7a04c4b3cf3a1 (patch)
tree5bca5eba80a0c637912fcc12dd294f2e678dc454 /drivers/ntb
parent2f887b9a44015a8146d52e40bef9e2b7bc6cd275 (diff)
downloadlinux-9891417de8a816de60faea8a2ff7a04c4b3cf3a1.tar.gz
linux-9891417de8a816de60faea8a2ff7a04c4b3cf3a1.tar.bz2
linux-9891417de8a816de60faea8a2ff7a04c4b3cf3a1.zip
NTB: Increase transport MTU to 64k from 16k
Benchmarking showed a significant performance increase with the MTU size to 64k instead of 16k. Change the driver default to 64k. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb')
-rw-r--r--drivers/ntb/ntb_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c
index e07b056af3be..1551493197b4 100644
--- a/drivers/ntb/ntb_transport.c
+++ b/drivers/ntb/ntb_transport.c
@@ -76,7 +76,7 @@ static unsigned long max_mw_size;
module_param(max_mw_size, ulong, 0644);
MODULE_PARM_DESC(max_mw_size, "Limit size of large memory windows");
-static unsigned int transport_mtu = 0x401E;
+static unsigned int transport_mtu = 0x10000;
module_param(transport_mtu, uint, 0644);
MODULE_PARM_DESC(transport_mtu, "Maximum size of NTB transport packets");