opnsense-src/sys/dev/hyperv
Sepherosa Ziehau 57fb9b3fd1 hyperv/hn: Use buf_ring for txdesc list
So one spinlock is avoided, which would be potentially dangerous for
virtual machine, if the spinlock holder was scheduled out by the host,
as noted by royger.

Old spinlock based txdesc list is still kept around, so we could have
a safe fallback.

No performance regression nor improvement is observed.

Reviewed by:	adrian
Approved by:	adrian (mentor)
MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D5290
2016-02-18 07:44:14 +00:00
..
include hyperv: Use standard taskqueue instead of hv_work_queue 2016-02-05 07:09:58 +00:00
netvsc hyperv/hn: Use buf_ring for txdesc list 2016-02-18 07:44:14 +00:00
stordisengage Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-tree 2014-10-24 06:27:45 +00:00
storvsc hyperv/stor: Fix the NULL pointer dereference 2016-02-05 03:46:53 +00:00
utilities hyperv: Use standard taskqueue instead of hv_work_queue 2016-02-05 07:09:58 +00:00
vmbus hyperv: Use malloc for page allocation. 2016-02-05 07:29:11 +00:00