]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 295307,295308,295309,295606
authorsephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Jun 2016 06:38:46 +0000 (06:38 +0000)
committersephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Jun 2016 06:38:46 +0000 (06:38 +0000)
commit050e8c4df3a5a3db5a181091644f66ff992a835b
tree17fd940e7bd42b38b667b3e8c8a0db97f3bd39f8
parent4477310d6baecac3dfc0cba061b0f87967230b6a
MFC 295307,295308,295309,295606

295307
    hyperv: Use standard taskqueue instead of hv_work_queue

    HyperV code was ported from Linux.  There is an implementation of
    work queue called hv_work_queue.  In FreeBSD, taskqueue could be
    used for the same purpose.  Convert all the consumer of hv_work_queue
    to use taskqueue, and remove work queue implementation.

    Submitted by:       Jun Su <junsu microsoft com>
    Reviewed by:        adrian, Hongjiang Zhang <honzhan microsoft com>
    Approved by:        adrian (mentor)
    MFC after:  1 week
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D4963

295308
    hyperv: Use WAITOK in the places where we can wait

    And convert rndis non-hot path spinlock to mutex.

    Submitted by:       Jun Su <junsu microsoft com>
    Reviewed by:        adrian, sephe
    Approved by:        adrian (mentor)
    MFC after:  1 week
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D5081

295309
    hyperv: Use malloc for page allocation.

    We will eventually convert them to use busdma.

    Submitted by:       Jun Su <junsu microsoft com>
    Reviewed by:        adrian, sephe, Dexuan Cui <decui microsoft com>
    Approved by:        adrian (mentor)
    MFC after:  1 week
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D5087

295606
    hyperv/hn: Fix typo in comment

    Noticed by: avos
    Reviewed by:        adrian, avos, Hongjiang Zhang <honzhan microsoft com>
    Approved by:        adrian
    MFC after:  1 week
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D5199

git-svn-id: svn://svn.freebsd.org/base/stable/10@301859 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
12 files changed:
sys/dev/hyperv/include/hyperv.h
sys/dev/hyperv/netvsc/hv_net_vsc.c
sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
sys/dev/hyperv/netvsc/hv_rndis_filter.c
sys/dev/hyperv/utilities/hv_kvp.c
sys/dev/hyperv/utilities/hv_util.c
sys/dev/hyperv/vmbus/hv_channel.c
sys/dev/hyperv/vmbus/hv_channel_mgmt.c
sys/dev/hyperv/vmbus/hv_connection.c
sys/dev/hyperv/vmbus/hv_hv.c
sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
sys/dev/hyperv/vmbus/hv_vmbus_priv.h