freebsd-dev/sys/dev/hyperv/netvsc
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
..
hv_net_vsc.c hyperv: Use WAITOK in the places where we can wait 2016-02-05 07:20:31 +00:00
hv_net_vsc.h hyperv/hn: Use buf_ring for txdesc list 2016-02-18 07:44:14 +00:00
hv_netvsc_drv_freebsd.c hyperv/hn: Use buf_ring for txdesc list 2016-02-18 07:44:14 +00:00
hv_rndis_filter.c hyperv: Use WAITOK in the places where we can wait 2016-02-05 07:20:31 +00:00
hv_rndis_filter.h hyperv/hn: Partly rework transmission path 2016-01-25 05:01:32 +00:00
hv_rndis.h hyperv/hn: Partly rework transmission path 2016-01-25 05:01:32 +00:00