aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ntb/if_ntb/if_ntb.c
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2015-10-20 01:54:43 +0000
committerConrad Meyer <cem@FreeBSD.org>2015-10-20 01:54:43 +0000
commit98580c064ce3be79c21448ff11f2ca140dbcf86a (patch)
tree90d2f6b066273446e17216f43ce30e8ae4bda780 /sys/dev/ntb/if_ntb/if_ntb.c
parent6a88fb3ef8b0da18a694b9fd75e6000a91ba57df (diff)
downloadsrc-98580c064ce3be79c21448ff11f2ca140dbcf86a.tar.gz
src-98580c064ce3be79c21448ff11f2ca140dbcf86a.zip
NTB: MFV 9891417d: 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. Authored by: Dave Jiang Obtained from: Linux (Dual BSD/GPL driver) Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=289616
Diffstat (limited to 'sys/dev/ntb/if_ntb/if_ntb.c')
-rw-r--r--sys/dev/ntb/if_ntb/if_ntb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ntb/if_ntb/if_ntb.c b/sys/dev/ntb/if_ntb/if_ntb.c
index 3f33628b4bbf..7e6fe2272513 100644
--- a/sys/dev/ntb/if_ntb/if_ntb.c
+++ b/sys/dev/ntb/if_ntb/if_ntb.c
@@ -90,7 +90,7 @@ enum ntb_link_event {
NTB_LINK_UP,
};
-static unsigned int transport_mtu = 0x4000 + ETHER_HDR_LEN + ETHER_CRC_LEN;
+static unsigned int transport_mtu = 0x10000 + ETHER_HDR_LEN + ETHER_CRC_LEN;
static uint64_t max_mw_size;
SYSCTL_UQUAD(_hw_ntb, OID_AUTO, max_mw_size, CTLFLAG_RDTUN, &max_mw_size, 0,