hyperv/hn: Always do transmission scheduling.
This one gives the best performance so far. Reviewed by: adrian Approved by: adrian (mentor) MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5273
This commit is contained in:
parent
58f5a606fa
commit
01610d88da
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295742
@ -465,6 +465,13 @@ netvsc_attach(device_t dev)
|
||||
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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user