From: Dave Jiang Date: Wed, 3 Jun 2015 15:29:38 +0000 (-0400) Subject: NTB: Increase transport MTU to 64k from 16k X-Git-Tag: v5.15~15466^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9891417de8a816de60faea8a2ff7a04c4b3cf3a1;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Jon Mason --- diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index e07b056..1551493 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");