svn commit: r289616 - head/sys/dev/ntb/if_ntb

Conrad E. Meyer cem at FreeBSD.org
Tue Oct 20 01:54:45 UTC 2015


Author: cem
Date: Tue Oct 20 01:54:43 2015
New Revision: 289616
URL: https://svnweb.freebsd.org/changeset/base/289616

Log:
  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

Modified:
  head/sys/dev/ntb/if_ntb/if_ntb.c

Modified: head/sys/dev/ntb/if_ntb/if_ntb.c
==============================================================================
--- head/sys/dev/ntb/if_ntb/if_ntb.c	Tue Oct 20 01:54:34 2015	(r289615)
+++ head/sys/dev/ntb/if_ntb/if_ntb.c	Tue Oct 20 01:54:43 2015	(r289616)
@@ -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,


More information about the svn-src-all mailing list