Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2016 07:01:05 +0000
From:      Phabricator <phabric-noreply@FreeBSD.org>
To:        freebsd-virtualization@freebsd.org
Subject:   [Differential] [Closed] D5273: hyperv/hn: Always do transmission scheduling.
Message-ID:  <aad80d7c5bec4153a5199d5f8a0062cb@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-z2xerzi3cdu43hju55zk-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-z2xerzi3cdu43hju55zk-req@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
This revision was automatically updated to reflect the committed changes.
Closed by commit rS295742: hyperv/hn: Always do transmission scheduling. (authored by sephe).

CHANGED PRIOR TO COMMIT
  https://reviews.freebsd.org/D5273?vs=13284&id=13400#toc

REPOSITORY
  rS FreeBSD src repository

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D5273?vs=13284&id=13400

REVISION DETAIL
  https://reviews.freebsd.org/D5273

AFFECTED FILES
  head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c

CHANGE DETAILS
  diff --git a/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c b/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
  --- a/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
  +++ b/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
  @@ -465,6 +465,13 @@
   	    hn_tx_chimney_size < sc->hn_tx_chimney_max)
   		sc->hn_tx_chimney_size = hn_tx_chimney_size;
   
  +	/*
  +	 * Always schedule transmission instead of trying
  +	 * to do direct transmission.  This one gives the
  +	 * best performance so far.
  +	 */
  +	sc->hn_sched_tx = 1;
  +
   	ctx = device_get_sysctl_ctx(dev);
   	child = SYSCTL_CHILDREN(device_get_sysctl_tree(dev));

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: sepherosa_gmail.com, delphij, royger, decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com, adrian, network
Cc: freebsd-virtualization-list, freebsd-net-list

[-- Attachment #2 --]
diff --git a/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c b/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
--- a/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
+++ b/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
@@ -465,6 +465,13 @@
 	    hn_tx_chimney_size < sc->hn_tx_chimney_max)
 		sc->hn_tx_chimney_size = hn_tx_chimney_size;
 
+	/*
+	 * Always schedule transmission instead of trying
+	 * to do direct transmission.  This one gives the
+	 * best performance so far.
+	 */
+	sc->hn_sched_tx = 1;
+
 	ctx = device_get_sysctl_ctx(dev);
 	child = SYSCTL_CHILDREN(device_get_sysctl_tree(dev));
 

help

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