提交 9891417d 编写于 作者: D Dave Jiang 提交者: Jon Mason

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: NDave Jiang <dave.jiang@intel.com>
Signed-off-by: NJon Mason <jdmason@kudzu.us>
上级 2f887b9a
...@@ -76,7 +76,7 @@ static unsigned long max_mw_size; ...@@ -76,7 +76,7 @@ static unsigned long max_mw_size;
module_param(max_mw_size, ulong, 0644); module_param(max_mw_size, ulong, 0644);
MODULE_PARM_DESC(max_mw_size, "Limit size of large memory windows"); 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_param(transport_mtu, uint, 0644);
MODULE_PARM_DESC(transport_mtu, "Maximum size of NTB transport packets"); MODULE_PARM_DESC(transport_mtu, "Maximum size of NTB transport packets");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册