svn commit: r317664 - stable/11/sys/dev/hyperv/netvsc

Sepherosa Ziehau sephe at FreeBSD.org
Tue May 2 01:30:48 UTC 2017


Author: sephe
Date: Tue May  2 01:30:46 2017
New Revision: 317664
URL: https://svnweb.freebsd.org/changeset/base/317664

Log:
  hyperv/hn: Enable sorted LRO (direct commit).
  
  This is a direct commit.  Sorted LRO is much better than plain
  (linked list LRO), which hash LRO is not available on this
  branch.
  
  Sponsored by:	Microsoft

Modified:
  stable/11/sys/dev/hyperv/netvsc/if_hn.c

Modified: stable/11/sys/dev/hyperv/netvsc/if_hn.c
==============================================================================
--- stable/11/sys/dev/hyperv/netvsc/if_hn.c	Tue May  2 01:03:59 2017	(r317663)
+++ stable/11/sys/dev/hyperv/netvsc/if_hn.c	Tue May  2 01:30:46 2017	(r317664)
@@ -487,7 +487,7 @@ SYSCTL_INT(_hw_hn, OID_AUTO, tx_swq_dept
 
 /* Enable sorted LRO, and the depth of the per-channel mbuf queue */
 #if __FreeBSD_version >= 1100095
-static u_int			hn_lro_mbufq_depth = 0;
+static u_int			hn_lro_mbufq_depth = 512;
 SYSCTL_UINT(_hw_hn, OID_AUTO, lro_mbufq_depth, CTLFLAG_RDTUN,
     &hn_lro_mbufq_depth, 0, "Depth of LRO mbuf queue");
 #endif


More information about the svn-src-stable mailing list