Skip to content

Commit 9891417

Browse files
davejiangjonmason
authored andcommitted
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 <[email protected]> Signed-off-by: Jon Mason <[email protected]>
1 parent 2f887b9 commit 9891417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ntb/ntb_transport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static unsigned long max_mw_size;
7676
module_param(max_mw_size, ulong, 0644);
7777
MODULE_PARM_DESC(max_mw_size, "Limit size of large memory windows");
7878

79-
static unsigned int transport_mtu = 0x401E;
79+
static unsigned int transport_mtu = 0x10000;
8080
module_param(transport_mtu, uint, 0644);
8181
MODULE_PARM_DESC(transport_mtu, "Maximum size of NTB transport packets");
8282

0 commit comments

Comments
 (0)