Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2017 01:30:46 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r317664 - stable/11/sys/dev/hyperv/netvsc
Message-ID:  <201705020130.v421UkUH071131@repo.freebsd.org>

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



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