summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/include
Commit message (Collapse)AuthorAgeFilesLines
...
* hyperv/hn: Make read buffer per-channelsephe2016-03-021-0/+1
| | | | | | | Submitted by: Hongjiang Zhang <honzhan microsoft com> Reorganized by: sephe MFC after: 1 week Sponsored by: Microsoft OSTC
* hyperv/hn: Associate TX/RX ring with channelsephe2016-02-261-2/+4
| | | | | | | | This fixes the TX/RX ring selection for TX/RX done. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5454
* hyperv: Always set device for channelssephe2016-02-261-0/+2
| | | | | | | | And unregister hv_device only for primary channels, who own the hv_device. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5451
* hyperv: Remove useless channel inbound_locksephe2016-02-261-2/+0
| | | | | | | | | It serves no purpose. Reviewed by: Hongjiang Zhang <honzhan microsoft com> MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5450
* hyperv/utils: Code rearrange and cleanupsephe2016-02-241-35/+0
| | | | | | | | | | | Split heartbeat, shutdown and timesync out of utils code and name them properly. Submitted by: Jun Su <junsu microsoft com> Reviewed by: adrian, sephe, Hongjiang Zhang <honzhan microsoft com> MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5216
* hyperv: Use standard taskqueue instead of hv_work_queuesephe2016-02-051-26/+7
| | | | | | | | | | | | | | 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
* hyperv/vmbus: Event handling code refactor.sephe2016-01-271-0/+2
| | | | | | | | | | | | | | - Use taskqueue instead of swi for event handling. - Scan the interrupt flags in filter - Disable ringbuffer interrupt mask in filter to ensure no unnecessary interrupts. Submitted by: Jun Su <junsu microsoft com> Reviewed by: adrian, sephe, Dexuan <decui microsoft com> Approved by: adrian (mentor) MFC after: 2 weeks Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D4920
* hyperv: remove unused vmbus definitionssephe2016-01-141-5/+0
| | | | | | | | | | We don't need them at all. Submitted by: Dexuan Cui <decui microsoft com> Sponsored by: Microsoft OSTC Reviewed by: royger, adrian, delphij Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4595
* hyperv: vmbus: remove the per-channel control_work_queuedelphij2015-12-291-1/+0
| | | | | | | | | | | | | | | | | Now vmbus_channel_on_offer() -> vmbus_channel_process_offer() can safely run on the global hv_vmbus_g_connection.work_queue now. We remove the per-channel control_work_queue to achieve the proper serialization of the message handling. I removed the bogus TODO in vmbus_channel_on_offer(): a vmbus offer can only come from the parent partition, i.e., the host. PR: kern/205156 Submitted by: Dexuan Cui <decui microsoft com> Reviewed by: Howard Su <howard0su gmail com>, delphij MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D4597
* TSO and checksum offloading support for Netvsc driver on Hyper-V.whu2015-06-241-1/+1
| | | | | | | | | | Submitted by: whu Reviewed by: royger Approved by: royger MFC after: 1 week Relnotes: yes Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D2517
* Microsoft vmbus, storage and other related driver enhancements for HyperV.whu2015-04-291-7/+160
| | | | | | | | | | | | | | | | | | | | - Vmbus multi channel support. - Vector interrupt support. - Signal optimization. - Storvsc driver performance improvement. - Scatter and gather support for storvsc driver. - Minor bug fix for KVP driver. Thanks royger, jhb and delphij from FreeBSD community for the reviews and comments. Also thanks Hovy Xu from NetApp for the contributions to the storvsc driver. PR: 195238 Submitted by: whu Reviewed by: royger, jhb, delphij Approved by: royger MFC after: 2 weeks Relnotes: yes Sponsored by: Microsoft OSTC
* Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,delphij2014-09-131-0/+29
| | | | | | | | | | | | | | many thanks for their continued support of FreeBSD. While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary. The HyperV utilities are only built for i386 and amd64 targets. This is a stable/10 candidate for inclusion with 10.1-RELEASE. Submitted by: Wei Hu <weh microsoft com> MFC after: 1 week
* Fix vmbus channel memory leak where incorrect length parameter wasgrehan2013-10-111-0/+3
| | | | | | | being passed to contigfree(). Submitted by: Microsoft hyperv dev team Approved by: re@ (glebius)
* Microsoft have changed their policy on how the hyper-v code willgrehan2013-07-171-0/+796
be pulled into FreeBSD. From now, FreeBSD will be considered the upstream repo. First step: move the drivers away from the contrib area and into the base system. A follow-on commit will include the drivers in the amd64 GENERIC kernel.
OpenPOWER on IntegriCloud