Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2015 01:54:43 +0000 (UTC)
From:      "Conrad E. Meyer" <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289616 - head/sys/dev/ntb/if_ntb
Message-ID:  <201510200154.t9K1shVZ031121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510200154.t9K1shVZ031121>