Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2016 07:29:13 +0000
From:      Phabricator <phabric-noreply@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   [Differential] [Closed] D5282: hyperv/hn: Use non-fast taskqueue for transmission
Message-ID:  <66f8f407a749bb2b7a73d2a62c8e9f68@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-rcg32bmt76bmox5gxiaa-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-rcg32bmt76bmox5gxiaa-req@FreeBSD.org>

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

--b1_66f8f407a749bb2b7a73d2a62c8e9f68
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: 8bit

This revision was automatically updated to reflect the committed changes.
Closed by commit rS295746: hyperv/hn: Use non-fast taskqueue for transmission (authored by sephe).

CHANGED PRIOR TO COMMIT
  https://reviews.freebsd.org/D5282?vs=13307&id=13404#toc

REPOSITORY
  rS FreeBSD src repository

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D5282?vs=13307&id=13404

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

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
  @@ -368,7 +368,7 @@
   	sc->hn_direct_tx_size = hn_direct_tx_size;
   
   	if (hn_tx_taskq == NULL) {
  -		sc->hn_tx_taskq = taskqueue_create_fast("hn_tx", M_WAITOK,
  +		sc->hn_tx_taskq = taskqueue_create("hn_tx", M_WAITOK,
   		    taskqueue_thread_enqueue, &sc->hn_tx_taskq);
   		taskqueue_start_threads(&sc->hn_tx_taskq, 1, PI_NET, "%s tx",
   		    device_get_nameunit(dev));
  @@ -2178,7 +2178,7 @@
   	if (!hn_share_tx_taskq)
   		return;
   
  -	hn_tx_taskq = taskqueue_create_fast("hn_tx", M_WAITOK,
  +	hn_tx_taskq = taskqueue_create("hn_tx", M_WAITOK,
   	    taskqueue_thread_enqueue, &hn_tx_taskq);
   	taskqueue_start_threads(&hn_tx_taskq, 1, PI_NET, "hn tx");
   }

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

--b1_66f8f407a749bb2b7a73d2a62c8e9f68
Content-Type: text/x-patch; charset=utf-8; name="D5282.13404.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="D5282.13404.patch"

ZGlmZiAtLWdpdCBhL2hlYWQvc3lzL2Rldi9oeXBlcnYvbmV0dnNjL2h2X25ldHZzY19kcnZfZnJl
ZWJzZC5jIGIvaGVhZC9zeXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNk
LmMKLS0tIGEvaGVhZC9zeXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNk
LmMKKysrIGIvaGVhZC9zeXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNk
LmMKQEAgLTM2OCw3ICszNjgsNyBAQAogCXNjLT5obl9kaXJlY3RfdHhfc2l6ZSA9IGhuX2RpcmVj
dF90eF9zaXplOwogCiAJaWYgKGhuX3R4X3Rhc2txID09IE5VTEwpIHsKLQkJc2MtPmhuX3R4X3Rh
c2txID0gdGFza3F1ZXVlX2NyZWF0ZV9mYXN0KCJobl90eCIsIE1fV0FJVE9LLAorCQlzYy0+aG5f
dHhfdGFza3EgPSB0YXNrcXVldWVfY3JlYXRlKCJobl90eCIsIE1fV0FJVE9LLAogCQkgICAgdGFz
a3F1ZXVlX3RocmVhZF9lbnF1ZXVlLCAmc2MtPmhuX3R4X3Rhc2txKTsKIAkJdGFza3F1ZXVlX3N0
YXJ0X3RocmVhZHMoJnNjLT5obl90eF90YXNrcSwgMSwgUElfTkVULCAiJXMgdHgiLAogCQkgICAg
ZGV2aWNlX2dldF9uYW1ldW5pdChkZXYpKTsKQEAgLTIxNzgsNyArMjE3OCw3IEBACiAJaWYgKCFo
bl9zaGFyZV90eF90YXNrcSkKIAkJcmV0dXJuOwogCi0JaG5fdHhfdGFza3EgPSB0YXNrcXVldWVf
Y3JlYXRlX2Zhc3QoImhuX3R4IiwgTV9XQUlUT0ssCisJaG5fdHhfdGFza3EgPSB0YXNrcXVldWVf
Y3JlYXRlKCJobl90eCIsIE1fV0FJVE9LLAogCSAgICB0YXNrcXVldWVfdGhyZWFkX2VucXVldWUs
ICZobl90eF90YXNrcSk7CiAJdGFza3F1ZXVlX3N0YXJ0X3RocmVhZHMoJmhuX3R4X3Rhc2txLCAx
LCBQSV9ORVQsICJobiB0eCIpOwogfQoK


--b1_66f8f407a749bb2b7a73d2a62c8e9f68--



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