diff options
author | sephe <sephe@FreeBSD.org> | 2016-04-11 06:37:50 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-04-11 06:37:50 +0000 |
commit | 07c17a9d10ed0669b7e63d2f72e49d7bde32b10b (patch) | |
tree | 7e18101c0ca89d87e31293145d6f2f451a7a5784 | |
parent | c49d153732add588250197d631d76ec1539965e4 (diff) | |
download | FreeBSD-src-07c17a9d10ed0669b7e63d2f72e49d7bde32b10b.zip FreeBSD-src-07c17a9d10ed0669b7e63d2f72e49d7bde32b10b.tar.gz |
hyperv/hn: By default enable multiple TX/RX rings, aka vRSS.
Reviewed by: Dexuan Cui <decui microsoft com>
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5880
-rw-r--r-- | sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c b/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c index fb0e8e5..68c301a 100644 --- a/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c +++ b/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c @@ -282,12 +282,12 @@ static int hn_use_if_start = 0; SYSCTL_INT(_hw_hn, OID_AUTO, use_if_start, CTLFLAG_RDTUN, &hn_use_if_start, 0, "Use if_start TX method"); -static int hn_chan_cnt = 1; +static int hn_chan_cnt = 0; SYSCTL_INT(_hw_hn, OID_AUTO, chan_cnt, CTLFLAG_RDTUN, &hn_chan_cnt, 0, "# of channels to use; each channel has one RX ring and one TX ring"); -static int hn_tx_ring_cnt = 1; +static int hn_tx_ring_cnt = 0; SYSCTL_INT(_hw_hn, OID_AUTO, tx_ring_cnt, CTLFLAG_RDTUN, &hn_tx_ring_cnt, 0, "# of TX rings to use"); |